Skip to main content
CVE-2026-48978VulnerabilityPublished Updated

Golang oras oras go: Prior to 2.6.1, auth.Client follows the realm URL from a registry's WWW-Authenticate: Bearer

Affects golang-oras-oras-goSource GCVE Database

0
Compare
Authoritative record:CVE-2026-48978· Low 2.1

Not known to be exploited · CVSS 2.1 Low · fixed in 2.6.1 : update golang-oras-oras-go when convenient.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 4.0 base score
2.1Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 11% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.6.1
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10golang-oras-oras-gopkg:deb/ubuntu/golang-oras-oras-go?arch=source&distro=stonkingOther threatsAffected
  • =2.6.0-1
  • =2.6.2-1
Fixed in–
Ubuntu 26.04 LTSgolang-oras-oras-gopkg:deb/ubuntu/golang-oras-oras-go?arch=source&distro=resoluteOther threatsAffected
  • =2.5.0-1
  • =2.6.0-1
Fixed in–
Ubuntu 24.04 LTSgolang-oras-oras-gopkg:deb/ubuntu/golang-oras-oras-go?arch=source&distro=nobleOther threatsAffected
  • =1.1.1-1ubuntu1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…