Vulnerability
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 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.
11 advisories report this vulnerability, across 8 ecosystems.
Advisories in Fedora
-
FEDORA-2026-77528477c2
rust-anstyle-hyperlink-1.0.2-1.fc44 rust-anstyle-progress-0.1.4-1.fc44 rust-cargo-0.98.0-1.fc44 rust-cargo-c-0.10.24-1.fc44 rust-cargo-credential-libsecret-0.5.8-1.fc44 rust-cargo-util-0.2.30-1.fc44…
-
FEDORA-2026-ce685f40fe
rust-anstyle-hyperlink-1.0.2-1.fc43 rust-anstyle-progress-0.1.4-1.fc43 rust-cargo-0.98.0-1.fc43 rust-cargo-c-0.10.24-2.fc43 rust-cargo-credential-libsecret-0.5.8-1.fc43 rust-cargo-util-0.2.30-1.fc43…