Cargo can be coerced to share credentials between registries
CVE-2026-5222 is fixed in 40 products on 1 platform, first by DEBIAN-CVE-2026-5222, released May 25, 2026. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| cargo-c · Fedora 43 | 0.10.24-2.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| cargo-c · amzn 2023 | 0.10.19-1.amzn2023.0.3 | ALAS2023-2026-1872 | Jun 22, 2026 |
| cargo-c-debuginfo · Fedora 43 | 0.10.24-2.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| cargo-c-debuginfo · amzn 2023 | 0.10.19-1.amzn2023.0.3 | ALAS2023-2026-1872 | Jun 22, 2026 |
| rust-anstyle-hyperlink · Fedora 43 | 1.0.2-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-anstyle-hyperlink+default-devel · Fedora 43 | 1.0.2-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-anstyle-hyperlink+file-devel · Fedora 43 | 1.0.2-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-anstyle-hyperlink+std-devel · Fedora 43 | 1.0.2-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-anstyle-hyperlink-devel · Fedora 43 | 1.0.2-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-anstyle-progress · Fedora 43 | 0.1.4-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-anstyle-progress+default-devel · Fedora 43 | 0.1.4-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-anstyle-progress+std-devel · Fedora 43 | 0.1.4-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-anstyle-progress-devel · Fedora 43 | 0.1.4-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-cargo · Debian 14 | 0.91.0-3 | DEBIAN-CVE-2026-5222 | May 25, 2026 |
| rust-cargo · Fedora 43 | 0.98.0-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-cargo+default-devel · Fedora 43 | 0.98.0-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-cargo+http-transport-curl-devel · Fedora 43 | 0.98.0-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-cargo+http-transport-reqwest-devel · Fedora 43 | 0.98.0-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-cargo+openssl-devel · Fedora 43 | 0.98.0-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-cargo-c · Fedora 43 | 0.10.24-2.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-cargo-c+default-devel · Fedora 43 | 0.10.24-2.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-cargo-c-debugsource · Fedora 43 | 0.10.24-2.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-cargo-c-debugsource · amzn 2023 | 0.10.19-1.amzn2023.0.3 | ALAS2023-2026-1872 | Jun 22, 2026 |
| rust-cargo-c-devel · Fedora 43 | 0.10.24-2.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-cargo-credential-libsecret · Fedora 43 | 0.5.8-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-cargo-credential-libsecret+default-devel · Fedora 43 | 0.5.8-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-cargo-credential-libsecret-devel · Fedora 43 | 0.5.8-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-cargo-devel · Fedora 43 | 0.98.0-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-cargo-util · Fedora 43 | 0.2.30-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-cargo-util+default-devel · Fedora 43 | 0.2.30-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-cargo-util-devel · Fedora 43 | 0.2.30-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-cargo-util-schemas · Fedora 43 | 0.14.1-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-cargo-util-schemas+default-devel · Fedora 43 | 0.14.1-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-cargo-util-schemas-devel · Fedora 43 | 0.14.1-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-cargo-util-terminal · Fedora 43 | 0.1.0-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-cargo-util-terminal+default-devel · Fedora 43 | 0.1.0-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-cargo-util-terminal-devel · Fedora 43 | 0.1.0-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-crates-io · Fedora 43 | 0.41.0-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-crates-io+default-devel · Fedora 43 | 0.41.0-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-crates-io-devel · Fedora 43 | 0.41.0-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-rustfix · Fedora 43 | 0.9.7-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-rustfix+default-devel · Fedora 43 | 0.9.7-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rust-rustfix-devel · Fedora 43 | 0.9.7-1.fc43 | FEDORA-2026-CE685F40FE | Aug 20, 2026 |
| rustc · Debian 13.5 (trixie) | 1.85.1+dfsg1-1+deb13u1 | DEBIAN-CVE-2026-5222 | May 25, 2026 |
| rustc · Debian 14 | 1.95.0+dfsg1-2 | DEBIAN-CVE-2026-5222 | May 25, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.