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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-5222— Cargo can be coerced to share credentials between registries

Quick assessment

Affected
Rust Cargo
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.

Cargo是The Rust Programming Language开源的一个 Rust 包管理器。 Cargo 1.68版本至1.96版本存在安全漏洞,该漏洞源于错误规范化使用稀疏索引协议的第三方注册表URL,如果托管提供商允许在同一域内托管多个具有任意名称的注册表,能够发布crates的攻击者可能获取同一注册表其他用户的凭据。

AI Predicted 2.4 Difficulty: Hard EPSS 0.50% · P40

Possible ATT&CK Techniques 1 AI

T1110.004 · Credential Stuffing

Affected Version Matrix 1

VendorProduct Version RangeStatus
Rust Cargo 1.68.0< 1.96.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-5222

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
Cargo can be coerced to share credentials between registries
Source: CVE Program / CVE List V5
Vulnerability Description
Cargo between 1.68 and 1.96 incorrectly normalized the URLs of third-party registries using the sparse index protocol. If a hosting provider allowed multiple registries to be hosted with arbitrary names within the same domain, an attacker able to publish crates in a registry could obtain the credentials of others users of the same registry. The severity of the vulnerability is **low**, due to the extremely niche requirements needed to achieve the attack.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
使用未经净化的URL路径进行授权决策
Source: CVE Program / CVE List V5
Vulnerability Title
Cargo 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Cargo是The Rust Programming Language开源的一个 Rust 包管理器。 Cargo 1.68版本至1.96版本存在安全漏洞,该漏洞源于错误规范化使用稀疏索引协议的第三方注册表URL,如果托管提供商允许在同一域内托管多个具有任意名称的注册表,能够发布crates的攻击者可能获取同一注册表其他用户的凭据。
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
Rust Cargo 1.68.0 ~ 1.96.0 -

II. Public POCs for CVE-2026-5222

# 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-5222

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

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

Security Blog Posts for CVE-2026-5222 (1)

Other References for CVE-2026-5222 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-5222

No comments yet


Leave a comment