CVE-2026-5223Crates in third party registries can override the cached source of other crates
Descripción
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.
Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.
Productos y versiones afectados
| Fabricante | Producto | Versiones | |
|---|---|---|---|
| Rust Project | Cargo | 1.0.0 – < 1.96.0 | |
| rust-lang | cargo | < 1.96.0 |
Referencias y parches
- https://groups.google.com/g/rustlang-security-announcements/c/IB74S7Yksg8 vendor-advisorymailing-listMailing ListThird Party Advisory
- https://blog.rust-lang.org/2026/05/25/cve-2026-5223/ vendor-advisoryMitigationVendor Advisory
- https://github.com/rust-lang/cargo/pull/17031 patchIssue TrackingPatch
Coincidencias CPE (NVD) (1)
cpe:2.3:a:rust-lang:cargo:*:*:*:*:*:rust:*:*< 1.96.0