{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-48978","id":"CVE-2026-48978","title":"oras-go: Malicious registry can hijack Bearer token realm to exfiltrate credentials and refresh tokens","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:// t","descriptionLong":"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.","published":"2026-07-17T19:34:53.690Z","updated":"2026-10-28T02:30:31.264529960Z","reserved":"2026-05-26T23:26:07.974Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":2.1,"vector":"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","rating":"low","source":"GitHub_M"},"metrics":[{"version":"4.0","score":2.1,"vector":"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","rating":"low","source":"GitHub_M"},{"version":"4.0","score":2.1,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"low","source":"github.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"low","source":"GitHub"}],"rating":"low","products":["oras-project oras-go"],"affectedProducts":[{"vendor":"oras-project","product":"oras-go","defaultStatus":null,"versions":[{"version":"< 2.6.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"oras.land/oras-go/v2","purl":"pkg:golang/oras.land/oras-go/v2","ranges":["<2.6.1"],"fixed":["2.6.1"],"advisory":"GHSA-xf85-363p-868w"},{"ecosystem":"Go","name":"oras.land/oras-go","purl":"pkg:golang/oras.land/oras-go","ranges":["<=1.2.7"],"fixed":[],"advisory":"GHSA-xf85-363p-868w"}],"cwes":["CWE-918","CWE-319"],"aliases":["GHSA-xf85-363p-868w","GO-2026-5885"],"references":[{"url":"https://github.com/oras-project/oras-go/security/advisories/GHSA-xf85-363p-868w","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/oras-project/oras-go/commit/7a9f4b0b9558821b0422152ebe21ae56930fe764","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/oras-project/oras-go/releases/tag/v2.6.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48978.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48978","tags":["advisory"]},{"url":"https://github.com/oras-project/oras-go","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00211,"epssPercentile":0.11406,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-48978","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48978","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-48978","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xf85-363p-868w","ok":true,"note":"GHSA-xf85-363p-868w"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-48978","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}