cvedb.io
CVE-2026-5222
MEDIUM · CVSS 6.5
EPSS exploitation probability: 0%
Published 2026-05-25T10:16:15.273 · Last modified 2026-06-17T10:58:38.163

Summary

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.

Affected products

rust-lang — cargo

Does this affect you?

Add your gear to cvedb and we'll alert you only when rust-lang ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.