Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-48978— oras-go: Malicious registry can hijack Bearer token realm to exfiltrate credentials and refresh tokens

Quick assessment

Affected
oras-project oras-go
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

oras-project oras-go是oras-project组织的一个基于OCI标准的内容分发库软件。 oras-project oras-go 2.6.1之前版本存在安全漏洞,该漏洞源于验证机制不当,允许恶意或受攻击的注册中心导致服务端请求伪造,访问内部网络。

AI Predicted 6.5 Difficulty: Easy EPSS 0.21% · P11

Affected Version Matrix 1

VendorProduct Version RangeStatus
oras-project oras-go < 2.6.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-48978

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
oras-go: Malicious registry can hijack Bearer token realm to exfiltrate credentials and refresh tokens
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
服务端请求伪造(SSRF)
Source: CVE Program / CVE List V5
Vulnerability Title
oras-project oras-go 加密问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
oras-project oras-go是oras-project组织的一个基于OCI标准的内容分发库软件。 oras-project oras-go 2.6.1之前版本存在安全漏洞,该漏洞源于验证机制不当,允许恶意或受攻击的注册中心导致服务端请求伪造,访问内部网络。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
oras-project oras-go < 2.6.1 -

II. Public POCs for CVE-2026-48978

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-48978

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-48978 (1)

Vendor Advisories for CVE-2026-48978 (1)

Vendor Pages for CVE-2026-48978 (1)

Same Patch Batch · oras-project · 2026-07-17 · 4 CVEs total

CVE-2026-50151 7.5 HIGH oras-go: credential forwarding via unvalidated Location header in blob upload
CVE-2026-50163 7.1 HIGH oras-go: Hardlink entry with relative Linkname escapes extract dir via process CWD resolut
CVE-2026-50162 oras-go: file store write outside workingDir via symlink traversal

IV. Related Vulnerabilities