Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-vh4v-2xq2-g5cg: ORAS Go forwards registry credentials across registry redirects

0
Medium
Published: 07/01/2026 (07/01/2026, 21:54:06 UTC)
Source: GCVE Database
Product: oras.land/oras-go/v2

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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Affected software

Goghsa
oras.land/oras-go/v2
Affected versions
<2.6.1

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

AILast updated: 07/01/2026, 22:50:07 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses