{"id":"CVE-2026-50151","aliases":["GHSA-jxpm-75mh-9fp7","GO-2026-5882"],"url":"https://o3.security/vulnerability/CVE-2026-50151","summary":"oras-go: credential forwarding via unvalidated Location header in blob upload","details":"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.","published":"2026-07-17T19:41:11.648Z","modified":"2026-08-28T11:47:26.951147760Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":{"score":0.00382,"percentile":0.31189,"asOf":"2026-08-31"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"oras.land/oras-go/v2","fixedVersion":"2.6.1"}],"fix":{"url":"https://github.com/oras-project/oras-go/commit/4683c46ef078091544f5f55fd25102f002806991","label":"oras-project/oras-go@4683c46"},"references":[{"type":"WEB","url":"https://github.com/oras-project/oras-go/releases/tag/v2.6.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50151.json"},{"type":"ADVISORY","url":"https://github.com/oras-project/oras-go/security/advisories/GHSA-jxpm-75mh-9fp7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50151"},{"type":"FIX","url":"https://github.com/oras-project/oras-go/commit/4683c46ef078091544f5f55fd25102f002806991"},{"type":"FIX","url":"https://github.com/oras-project/oras-go/pull/1152"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-28T11:47:26.951147760Z"}}