Skip to main content
← All vulnerabilities
CVE-2026-50151GO-2026-5882GHSA-JXPM-75MH-9FP7

oras-go: credential forwarding via unvalidated Location header in blob upload

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.6.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

oras-go is a Go library for managing OCI artifacts. Prior to 2.6.1, registry/remote/repository.go in blobStore.completePushAfterInitialPost follows a registry-controlled Location header during monolithic blob upload and reuses the Authorization header from the initial POST request for the subsequent PUT request, allowing a malicious registry to return a cross-host Location and receive the caller's credentials at an attacker-controlled endpoint. This issue is fixed in version 2.6.1.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • oras-project oras-go

    fixed in 2.6.1

  • oras.land/oras-go/v2Go

    fixed in 2.6.1

References 4

GitHub · oras-project/oras-go