{"cve":"CVE-2026-50151","nvd":{"published":"2026-07-17T20:17:23.683","modified":"2026-10-24T20:10:00.137","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-918"],"references":["https://github.com/oras-project/oras-go/commit/4683c46ef078091544f5f55fd25102f002806991","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"],"products":["linuxfoundation:oras"],"source":"nvd","synced_at":"2026-10-25T17:50:08.599881581+00:00"},"epss":{"cve":"CVE-2026-50151","score":0.00382,"percentile":0.31954,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-jxpm-75mh-9fp7","url":"https://osv.dev/vulnerability/GHSA-jxpm-75mh-9fp7","summary":"oras-go blob upload vulnerable to credential forwarding via unvalidated Location header","modified":"2026-09-10T03:50:52.513855400Z","packages":[{"ecosystem":"Go","name":"oras.land/oras-go/v2","purl":"pkg:golang/oras.land/oras-go/v2","ranges":["<2.6.1"],"fixed":["2.6.1"]}]},{"id":"GO-2026-5882","url":"https://osv.dev/vulnerability/GO-2026-5882","summary":"Oras-go: Blob upload vulnerable to credential forwarding via unvalidated Location header in oras.land/oras-go","modified":"2026-07-24T19:00:26.723942218Z","packages":[{"ecosystem":"Go","name":"oras.land/oras-go/v2","purl":"pkg:golang/oras.land/oras-go/v2","ranges":["<2.6.1"],"fixed":["2.6.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}