ADVISORIES

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

  • ALAS2023-2026-1872

    Amazon Linux 2023 - ALAS2023-2026-1872: Medium priority package update for rust-cargo-c

    Medium CVE-2026-44471CVE-2026-5222CVE-2026-7598 Amazon Linux Updated 22 June 2026
  • ALPINE-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…

    CVE-2026-5222 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2026-5222
    CVE-2026-5222 Alpine Updated 18 November 2026
  • AZL-88275

    CVE-2026-5222 affecting package rust for versions less than 1.75.0-30

    CVE-2026-5222 Azure Linux Updated 23 November 2026
  • AZL-88281

    CVE-2026-5222 affecting package rust for versions less than 1.90.0-9

    CVE-2026-5222 Azure Linux Updated 23 November 2026
  • DEBIAN-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…

    CVE-2026-5222 Debian Updated 1 October 2026
  • 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…

    None CVE-2026-5222 Fedora Updated 27 August 2026
  • 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…

    None CVE-2026-5222 Fedora Updated 27 August 2026
  • GHSA-p688-r7jv-fm6f

    Cargo can be coerced to share credentials between registries

    Low CVE-2026-5222 crates.io Updated 26 June 2026
  • SUSEVEX-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…

    Low CVE-2026-5222 SUSE Updated 2 October 2026
  • UBUNTU-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…

    CVE-2026-5222 Ubuntu Updated 3 June 2026

References