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

Weakness classification (CWE)

References

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.