6.5Media

CVE-2026-5223Crates in third party registries can override the cached source of other crates

Rust Project Cargo Publicada: (hace 5 meses)

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.

Debilidad (CWE): CWE-61

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
Rust Project Cargo 1.0.0 – < 1.96.0
rust-lang cargo < 1.96.0

Referencias y parches

Coincidencias CPE (NVD) (1)

  • cpe:2.3:a:rust-lang:cargo:*:*:*:*:*:rust:*:* < 1.96.0