GHSA-vh4v-2xq2-g5cg: ORAS Go forwards registry credentials across registry redirects
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.
AI Analysis
Technical Summary
ORAS Go forwards the Authorization header containing registry credentials to redirected HTTP origins during two flows: manifest or metadata requests that receive a redirect response, and blob upload POST requests that receive an upload Location on a different host or port. In affected versions, the client sends the original registry credentials to the redirected endpoint, violating the security invariant that credentials should not be forwarded across registry-origin boundaries. This was tested and confirmed in oras-go v2.6.0 and related commits. The upload Location path was partially fixed in the v2 branch, but the manifest redirect path remains vulnerable. The ORAS CLI using oras-go v2.6.0 is also affected when using registry config files for authentication.
Potential Impact
Credentials configured for one registry origin can be exposed to unintended endpoints due to forwarding during HTTP redirects or upload Location responses. This leads to credential leakage across origin boundaries. There is no evidence of remote code execution, registry compromise, or arbitrary token theft. The impact is limited to credential exposure, which could be leveraged by an attacker controlling the redirect target to capture sensitive authentication data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, 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. Monitor vendor communications for updates and apply official patches once released.
GHSA-vh4v-2xq2-g5cg: ORAS Go forwards registry credentials across registry redirects
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.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
ORAS Go forwards the Authorization header containing registry credentials to redirected HTTP origins during two flows: manifest or metadata requests that receive a redirect response, and blob upload POST requests that receive an upload Location on a different host or port. In affected versions, the client sends the original registry credentials to the redirected endpoint, violating the security invariant that credentials should not be forwarded across registry-origin boundaries. This was tested and confirmed in oras-go v2.6.0 and related commits. The upload Location path was partially fixed in the v2 branch, but the manifest redirect path remains vulnerable. The ORAS CLI using oras-go v2.6.0 is also affected when using registry config files for authentication.
Potential Impact
Credentials configured for one registry origin can be exposed to unintended endpoints due to forwarding during HTTP redirects or upload Location responses. This leads to credential leakage across origin boundaries. There is no evidence of remote code execution, registry compromise, or arbitrary token theft. The impact is limited to credential exposure, which could be leveraged by an attacker controlling the redirect target to capture sensitive authentication data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, 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. Monitor vendor communications for updates and apply official patches once released.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-vh4v-2xq2-g5cg
- Osv Schema Version
- 1.4.0
- Aliases
- []
- Ecosystems
- ["Go"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a45998227e9c797194186eb
Added to database: 07/01/2026, 22:49:38 UTC
Last enriched: 07/01/2026, 22:50:07 UTC
Last updated: 07/01/2026, 23:32:18 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.