Vulnerability in Rust Cargo
CVE-2026-5222
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…
EPSS: 0.000 (9.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
Affected products
- Rust Cargo — versions 1.68.0
- Rust-lang Cargo
Weakness classification (CWE)
References
- 986d4109-89ea-491f-99fd-a8e4803919bd (mailing-list, vendor-advisory, Mailing List, Third Party Advisory)
- 986d4109-89ea-491f-99fd-a8e4803919bd (vendor-advisory, Vendor Advisory)
- 986d4109-89ea-491f-99fd-a8e4803919bd (Patch, patch, Issue Tracking)
Frequently asked questions
- What is CVE-2026-5222?
- CVE-2026-5222 is a medium-severity vulnerability in Rust Cargo, classified under CWE-647. CVSS score: 6.5/10. Published 2026-05-25.
- How severe is CVE-2026-5222?
- Medium severity. CVSS v3 base score is 6.5 out of 10.