{"id":"CVE-2026-50151","published":"2026-07-17T19:41:11Z","modified":"2026-07-20T13:52:07Z","title":"oras-go: credential forwarding via unvalidated Location header in blob upload","vendor":"oras-project","product":"oras-go","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0049,"percentile":0.3494,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/oras-project/oras-go/security/advisories/GHSA-jxpm-75mh-9fp7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/oras-project/oras-go/pull/1152","tags":["x_refsource_MISC"]},{"url":"https://github.com/oras-project/oras-go/commit/4683c46ef078091544f5f55fd25102f002806991","tags":["x_refsource_MISC"]},{"url":"https://github.com/oras-project/oras-go/releases/tag/v2.6.1","tags":["x_refsource_MISC"]}],"priority":{"score":12.2,"factors":[{"name":"EPSS percentile","points":6.99},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"oras-project","affectedVersions":[{"vendor":"oras-project","product":"oras-go","versions":["< 2.6.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-20T13:52:00.588088Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"oras.land/oras-go/v2","vulnerableRanges":["<2.6.1"],"patched":["2.6.1"],"from":["GHSA-jxpm-75mh-9fp7","GO-2026-5882"],"provenance":"source"}],"summary":{"text":"The flaw is in oras-go, a Go library for managing OCI artifacts, specifically in the blob upload path of registry/remote/repository.go (blobStore.completePushAfterInitialPost). It follows a Location header supplied by the registry during monolithic blob upload and reuses the Authorization header from the initial POST for the subsequent PUT, so a malicious or compromised registry can return a cross-host Location and receive the caller's credentials at an endpoint it controls; the issue is fixed in version 2.6.1 and prior versions are affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:41Z"},"euvd":{"id":"EUVD-2026-45264","exploited":false,"provenance":"source"}}