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.
Fix
Patch, vendor advisory and mitigation references on NVD 4
- https://github.com/oras-project/oras-go/commit/4683c46ef078091544f5f55fd25102f002806991 Patch
- https://github.com/oras-project/oras-go/pull/1152 Issue Tracking, Patch
- https://github.com/oras-project/oras-go/security/advisories/GHSA-jxpm-75mh-9fp7 Exploit, Mitigation, Vendor Advisory
- https://github.com/oras-project/oras-go/security/advisories/GHSA-jxpm-75mh-9fp7 Exploit, Mitigation, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 7.5 · linuxfoundationNVD modified 2026-10-24 20:10
Affected (CPE criteria) 1
cpe:2.3:a:linuxfoundation:oras:*:*:*:*:*:go:*:*
References 5
- https://github.com/oras-project/oras-go/commit/4683c46ef078091544f5f55fd25102f002806991 Patch
- https://github.com/oras-project/oras-go/pull/1152 Issue Tracking, Patch
- https://github.com/oras-project/oras-go/releases/tag/v2.6.1 Release Notes
- https://github.com/oras-project/oras-go/security/advisories/GHSA-jxpm-75mh-9fp7 Exploit, Mitigation, Vendor Advisory
- https://github.com/oras-project/oras-go/security/advisories/GHSA-jxpm-75mh-9fp7 Exploit, Mitigation, Vendor Advisory