ADVISORIES

Vulnerability

CVE-2026-5223

Cargo incorrectly handled symlinks inside of crate tarballs downloaded from third-party registries, allowing a malicious crate to override the source code of another crate from the same registry. The severity of the vulnerability is **medium** for users of third-party registries. Users of crates.io are **not affected**, as crates.io forbids uploading crates containing any symlink.

10 advisories report this vulnerability, across 7 ecosystems.

Advisories

  • ALPINE-CVE-2026-5223

    Cargo incorrectly handled symlinks inside of crate tarballs downloaded from third-party registries, allowing a malicious crate to override the source code of another crate from the same registry. The severity of the…

    CVE-2026-5223 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2026-5223
    CVE-2026-5223 Alpine Updated 18 November 2026
  • AZL-88272

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

    CVE-2026-5223 Azure Linux Updated 23 November 2026
  • AZL-88278

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

    CVE-2026-5223 Azure Linux Updated 23 November 2026
  • DEBIAN-CVE-2026-5223

    Cargo incorrectly handled symlinks inside of crate tarballs downloaded from third-party registries, allowing a malicious crate to override the source code of another crate from the same registry. The severity of the…

    CVE-2026-5223 Debian Updated 1 October 2026
  • GHSA-jq42-7mfv-hm57

    Cargo crates in third party registries can override the cached source of other crates

    Moderate CVE-2026-5223 crates.io Updated 26 June 2026
  • RHSA-2026:42923

    Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update

    CVE-2026-50185CVE-2026-5223 Red Hat Updated 13 November 2026
  • RHVEX-CVE-2026-5223

    cargo: Cargo: Source code overwrite due to symlink mishandling in third-party registries

    Moderate CVE-2026-5223 Red Hat Updated 5 November 2026
  • SUSEVEX-CVE-2026-5223

    Cargo incorrectly handled symlinks inside of crate tarballs downloaded from third-party registries, allowing a malicious crate to override the source code of another crate from the same registry. The severity of the…

    Moderate CVE-2026-5223 SUSE Updated 2 October 2026
  • UBUNTU-CVE-2026-5223

    Cargo incorrectly handled symlinks inside of crate tarballs downloaded from third-party registries, allowing a malicious crate to override the source code of another crate from the same registry. The severity of the…

    CVE-2026-5223 Ubuntu Updated 3 June 2026

References