Skip to content
CVE PROGRAM SOURCE RECORD6.5 Medium

CVE-2026-5223

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

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Rust Project Cargo

Default version status: unaffected

  • 1.0.0 to < 1.96.0affected

References