CVE-2026-5223

Medium

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductRust-lang Cargo
PublishedMay 25, 2026
First seenMay 25, 2026
Weakness typeCWE-61CWE-61

How to fix

Affected products

ProductAffected versionsFixed in
rust-lang cargov < 1.96.01.96.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-5223 · Rust-lang Cargo · Dark Radar