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…
- ALPINE-EDGE-CVE-2026-5223
-
AZL-88272
CVE-2026-5223 affecting package rust for versions less than 1.75.0-30
-
AZL-88278
CVE-2026-5223 affecting package rust for versions less than 1.90.0-9
-
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…
-
GHSA-jq42-7mfv-hm57
Cargo crates in third party registries can override the cached source of other crates
-
RHSA-2026:42923
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHVEX-CVE-2026-5223
cargo: Cargo: Source code overwrite due to symlink mishandling in third-party registries
-
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…
-
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…