{"id":"CVE-2026-50151","state":"PUBLISHED","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.","publishedAt":"2026-07-17T19:41:11.648Z","updatedAt":"2026-07-20T13:52:07.476Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["oras-project oras-go"],"affected":[{"vendor":"oras-project","product":"oras-go","versions":[{"version":"< 2.6.1","status":"affected"}]}],"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"],"weaknesses":["CWE-918"],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/50xxx/CVE-2026-50151.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-50151","state":"PUBLISHED","datePublished":"2026-07-17T19:41:11.648Z","dateUpdated":"2026-07-20T13:52:07.476Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-03T20:54:20.431Z"},"containers":{"cna":{"title":"oras-go: credential forwarding via unvalidated Location header in blob upload","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"oras-project","product":"oras-go","versions":[{"version":"< 2.6.1","status":"affected"}]}],"references":[{"url":"https://github.com/oras-project/oras-go/security/advisories/GHSA-jxpm-75mh-9fp7","name":"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","name":"https://github.com/oras-project/oras-go/pull/1152","tags":["x_refsource_MISC"]},{"url":"https://github.com/oras-project/oras-go/commit/4683c46ef078091544f5f55fd25102f002806991","name":"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","name":"https://github.com/oras-project/oras-go/releases/tag/v2.6.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-918","lang":"en","description":"CWE-918: Server-Side Request Forgery (SSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-17T19:41:11.648Z"},"source":{"advisory":"GHSA-jxpm-75mh-9fp7","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/oras-project/oras-go/security/advisories/GHSA-jxpm-75mh-9fp7","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-20T13:52:00.588088Z","id":"CVE-2026-50151","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-20T13:52:07.476Z"}}]}}}