{"id":"CVE-2026-50151","revision":"0f48662e9f8945499c2e5d9213b20825","records":[{"revision":"0f48662e9f8945499c2e5d9213b20825","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-50151","aliases":[],"title":"oras-go: credential forwarding via unvalidated Location header in blob upload","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.","state":0,"publishedAt":"2026-07-17T19:41:11.648+00:00","modifiedAt":"2026-07-20T13:52:07.476+00:00","affected":[{"ecosystem":"Vendor product","name":"oras-go","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"oras-project\",\n                    \"product\": \"oras-go\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 2.6.1\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 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,"severity":"HIGH"}],"references":["https://github.com/oras-project/oras-go/security/advisories/GHSA-jxpm-75mh-9fp7","https://github.com/oras-project/oras-go/pull/1152","https://github.com/oras-project/oras-go/commit/4683c46ef078091544f5f55fd25102f002806991","https://github.com/oras-project/oras-go/releases/tag/v2.6.1"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-50151","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-50151","identifiers":["CVE-2026-50151"]},"retained":false,"historicalAffected":[]}],"coverage":[]}