CVE-2026-50151
HIGH 7.5CVSS 3.1oras-go blob upload vulnerable to credential forwarding via unvalidated Location header
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.
- Published
- 17 Jul 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-918
- Also known as
- GHSA-jxpm-75mh-9fp7GO-2026-5882
- Sources
- NVDJSONOSV GHSA-jxpm-75mh-9fp7JSONOSV GO-2026-5882JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | orascpe:2.3:a:linuxfoundation:oras:*:*:*:*:*:go:*:* |
< 2.6.1 | 2.6.1 |
| OSV | Go | oras.land/oras-go/v2 | < 2.6.1 | 2.6.1 |
References
- https://github.com/oras-project/oras-go/commit/4683c46ef078091544f5f55fd25102f002806991 · Patch, WEB, FIX
- https://github.com/oras-project/oras-go/pull/1152 · Issue Tracking, Patch, WEB, FIX
- https://github.com/oras-project/oras-go/releases/tag/v2.6.1 · Release Notes, WEB
- https://github.com/oras-project/oras-go/security/advisories/GHSA-jxpm-75mh-9fp7 · Exploit, Mitigation, Vendor Advisory, WEB, ADVISORY
- https://github.com/oras-project/oras-go · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 17 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Jul 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 Jul 2026)