oras-go: Malicious registry can hijack Bearer token realm to exfiltrate credentials and refresh tokens
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- High
- Attack requirements
- None
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Partial Red Hat: 9 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-319.
Summary
oras-go is a Go library for managing OCI artifacts. Prior to 2.6.1, auth.Client follows the realm URL from a registry's WWW-Authenticate: Bearer challenge without validating the scheme or host, allowing a malicious or compromised registry to cause SSRF to internal networks such as http://169.254.169.254/, http://10.0.0.x/, and http://127.0.0.1/, or to downgrade a registry contacted over https:// to an http:// token endpoint in registry/remote/auth/client.go through Client.Do(), Client.fetchBearerToken(), fetchDistributionToken, and fetchOAuth2Token. This issue is fixed in version 2.6.1.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| oras-project | oras-go | before 2.6.1 | 2.6.1 | Patch available | CNA |
| — | oras.land/oras-go/v2 (Go) | before 2.6.1 | 2.6.1 | Patch available | GHSA-xf85-363p-868w |
| — | oras.land/oras-go (Go) | up to 1.2.7 | — | No fix listed | GHSA-xf85-363p-868w |
- oras-go Vendororas-project Affected before 2.6.1 Fixed in 2.6.1 Patch available CNA
- oras.land/oras-go/v2 (Go) Vendor— Affected before 2.6.1 Fixed in 2.6.1 Patch available GHSA-xf85-363p-868w
- oras.land/oras-go (Go) Vendor— Affected up to 1.2.7 Fixed in — No fix listed GHSA-xf85-363p-868w
Remediation
- Fix · CNA oras-go (oras-project) Fixed in 2.6.1
- Fix · GHSA-xf85-363p-868w oras.land/oras-go/v2 (Go) Fixed in 2.6.1 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Gatekeeper 3 | Affected | No fix yet: Fix deferred |
| Multicluster Global Hub | Affected | No fix yet: Fix deferred |
| OpenShift Service Mesh 3 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 16.2 | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 17.1 | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 18.0 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-48978
- 2026-10-03 Alias added: GHSA-xf85-363p-868w
- 2026-11-07 Affected versions changed · Red Hat
References
More oras-project vulnerabilities
- TI-2026-58829 oras-go: Arbitrary file write outside file.Store root via symlink-chain bypass in tar extraction (pushDir) CVSS 3.1HIGH 8.8
- TI-2026-36926 oras-go: file store write outside workingDir via symlink traversal CVSS 4.0MEDIUM 6.9
- TI-2026-36927 Path traversal in oras-project oras-go CVSS 3.1HIGH 7.1
- TI-2026-58830 oras-go: Blind SSRF via unvalidated Link header URL in pagination allows internal network probing CVSS 3.1MEDIUM 4.7
- TI-2026-40126 ORAS CLI: Cyclic Referrer Graph Can Cause Unbounded Recursion and Resource Consumption CVSS 3.1MEDIUM 6.5
Sources
- CVE-2026-48978 · CVE Program
- CVE-2026-48978 · NVD
- FIRST EPSS
- GHSA-xf85-363p-868w · GitHub Advisory Database · CC BY 4.0
- CVE-2026-48978 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences