VDB
CVE-2026-5222
CVE-2026-5222
PUBLISHED
CVSS 2.3 LOW
Reported by rust · Published May 25, 2026
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.
Risk Scores
CVSS v4.0
2.3
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
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Rust | Cargo | 1.68.0 |
| alpine | rust | 0, 0, 0 |
| Rust | Cargo | 1.68.0, 1.68.0 |
Timeline
- May 25, 2026 EPSS Score
- May 25, 2026 CVE Published
- May 26, 2026 EPSS Score
- May 26, 2026 CVE Updated
- May 27, 2026 EPSS Score
- May 28, 2026 EPSS Score
- May 29, 2026 EPSS Score
- May 30, 2026 EPSS Score
- May 31, 2026 EPSS Score
- Jun 1, 2026 EPSS Score