CVE-2026-50151
oras-go: credential forwarding via unvalidated Location header in blob upload
CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-918 |
| Vendor | oras-project |
| Product | oras-go |
| Published | Jul 17, 2026 |
Stay Ahead of the Next One
Get instant alerts for oras-project oras-go
Be the first to know when new high vulnerabilities affecting oras-project oras-go are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Affected Versions
oras-project / oras-go
< 2.6.1
References
github.com: https://github.com/oras-project/oras-go/security/advisories/GHSA-jxpm-75mh-9fp7 github.com: https://github.com/oras-project/oras-go/pull/1152 github.com: https://github.com/oras-project/oras-go/commit/4683c46ef078091544f5f55fd25102f002806991 github.com: https://github.com/oras-project/oras-go/releases/tag/v2.6.1