What’s Vulnerable › Vulnerabilities
CVE-2026-50151: oras-go: credential forwarding via unvalidated Location header in blob upload
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-07-17 · updated 2026-10-24
- Weakness: CWE-918
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.
Affected products
- oras-project oras-go: before 2.6.1 — fixed in 2.6.1
How to fix
Upgrade to a fixed version: oras-project oras-go 2.6.1. Check the vendor advisory for mitigations.
References
- https://github.com/oras-project/oras-go/commit/4683c46ef078091544f5f55fd25102f002806991
- https://github.com/oras-project/oras-go/pull/1152
- https://github.com/oras-project/oras-go/releases/tag/v2.6.1
- https://github.com/oras-project/oras-go/security/advisories/GHSA-jxpm-75mh-9fp7
- https://github.com/oras-project/oras-go/security/advisories/GHSA-jxpm-75mh-9fp7
Get alerted when CVE-2026-50151 or the next vulnerability affects your stack