oras.land/oras-go/v2 · V2: ORAS Go forwards registry credentials across registry redirects
Affects oras.land/oras-go/v2Source GCVE Database
CVSS 6.9 Medium : upgrade to 2.6.1 when convenient.
Data as of 1 Jul 2026, 22:50 UTC
- Patch
- Available – fixed in 2.6.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NWhat to do
Upgrade oras.land/oras-go/v2 to 2.6.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gooras.land/oras-go/v2 | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, avoid using registry configurations that contain sensitive credentials with ORAS Go versions prior to 2.6.1 when interacting with registries that may issue redirects to different origins.
Description
ORAS Go versions prior to 2.6.1 forward registry credentials to unintended HTTP origins during registry redirects or blob upload location redirects. This causes credentials configured for one registry origin to be sent to a different host or port, potentially exposing sensitive authentication data. The issue affects manifest and metadata requests as well as blob upload flows. The vulnerability does not enable remote code execution or arbitrary token theft but results in credential exposure across origin boundaries.
References
- github.com/oras-project/oras-go/security/advisories/GHSA-vh4v-2xq2-g5cg (opens in a new tab)
- github.com/oras-project/oras-go/commit/3c2e884e12ea52b6bff60c97f1edb7df7d0e0909 (opens in a new tab)
- github.com/oras-project/oras-go (opens in a new tab)
- github.com/oras-project/oras-go/releases/tag/v2.6.1 (opens in a new tab)