NetSight
medium5.3

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 a…

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
rustcargo< 0.97.00.97.0

Affected products

VendorProductAffected versions
Rust-LangCargo
before 1.96.0

Weakness classification

References