6.5Mittel

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

Rust Project Cargo Veröffentlicht: (vor 5 Monaten)

Beschreibung

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.

Schwachstellentyp (CWE): CWE-61

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

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

Referenzen und Patches

CPE-Treffer (NVD) (1)

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