CVE-2026-50151
HIGHoras-go: credential forwarding via unvalidated Location header in blob upload
Title source: cnaDescription
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.
References (4)
Core 4
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/oras-project/oras-go/security/advisories/GHSA-jxpm-75mh-9fp7
X_Refsource_Misc x_refsource_misc
https://github.com/oras-project/oras-go/pull/1152
X_Refsource_Misc x_refsource_misc
https://github.com/oras-project/oras-go/commit/4683c46ef078091544f5f55fd25102f002806991
X_Refsource_Misc x_refsource_misc
https://github.com/oras-project/oras-go/releases/tag/v2.6.1
Scores
CVSS v3
7.5
EPSS
0.0036
EPSS Percentile
29.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-918
Status
published
Products (1)
oras-project/oras-go
< 2.6.1
Published
Jul 17, 2026
Tracked Since
Jul 18, 2026