Vulnerability Description
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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/oras-project/oras-go/commit/4683c46ef078091544f5f55fd25102f00
- https://github.com/oras-project/oras-go/pull/1152
- https://github.com/oras-project/oras-go/releases/tag/v2.6.1
- https://github.com/oras-project/oras-go/security/advisories/GHSA-jxpm-75mh-9fp7
- https://github.com/oras-project/oras-go/security/advisories/GHSA-jxpm-75mh-9fp7
FAQ
What is CVE-2026-50151?
CVE-2026-50151 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 monolit...
How severe is CVE-2026-50151?
CVE-2026-50151 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-50151?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.