{"api_version":"1","generated_at":"2026-07-17T23:54:40+00:00","cve":"CVE-2026-50151","urls":{"html":"https://cve.report/CVE-2026-50151","api":"https://cve.report/api/cve/CVE-2026-50151.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-50151","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-50151"},"summary":{"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":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-07-17 20:17:23","updated_at":"2026-07-17 20:17:23"},"problem_types":["CWE-918","CWE-918 CWE-918: Server-Side Request Forgery (SSRF)"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","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","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","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","data":{"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"}}],"references":[{"url":"https://github.com/oras-project/oras-go/pull/1152","name":"https://github.com/oras-project/oras-go/pull/1152","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/oras-project/oras-go/commit/4683c46ef078091544f5f55fd25102f002806991","name":"https://github.com/oras-project/oras-go/commit/4683c46ef078091544f5f55fd25102f002806991","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"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","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"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","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-50151","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50151","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"oras-project","product":"oras-go","version":"affected < 2.6.1","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"oras-go","vendor":"oras-project","versions":[{"status":"affected","version":"< 2.6.1"}]}],"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."}],"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","description":"CWE-918: Server-Side Request Forgery (SSRF)","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-17T19:41:11.648Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"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/security/advisories/GHSA-jxpm-75mh-9fp7"},{"name":"https://github.com/oras-project/oras-go/pull/1152","tags":["x_refsource_MISC"],"url":"https://github.com/oras-project/oras-go/pull/1152"},{"name":"https://github.com/oras-project/oras-go/commit/4683c46ef078091544f5f55fd25102f002806991","tags":["x_refsource_MISC"],"url":"https://github.com/oras-project/oras-go/commit/4683c46ef078091544f5f55fd25102f002806991"},{"name":"https://github.com/oras-project/oras-go/releases/tag/v2.6.1","tags":["x_refsource_MISC"],"url":"https://github.com/oras-project/oras-go/releases/tag/v2.6.1"}],"source":{"advisory":"GHSA-jxpm-75mh-9fp7","discovery":"UNKNOWN"},"title":"oras-go: credential forwarding via unvalidated Location header in blob upload"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-50151","datePublished":"2026-07-17T19:41:11.648Z","dateReserved":"2026-06-03T20:54:20.431Z","dateUpdated":"2026-07-17T19:41:11.648Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-17 20:17:23","lastModifiedDate":"2026-07-17 20:17:23","problem_types":["CWE-918","CWE-918 CWE-918: Server-Side Request Forgery (SSRF)"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":3.6}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"50151","Ordinal":"1","Title":"oras-go: credential forwarding via unvalidated Location header i","CVE":"CVE-2026-50151","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"50151","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"oras-go: credential forwarding via unvalidated Location header i"}]}}}