Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Rust Project / Cargo | affected 1.0.0 before 1.96.0 |
CWE
CWE-61
References
- https://groups.google.com/g/rustlang-security-announcements/c/IB74S7Yksg8
- https://blog.rust-lang.org/2026/05/25/cve-2026-5223/
- https://github.com/rust-lang/cargo/pull/17031
ADP enrichment
No English description supplied.
No references supplied.