Vulnerability

CVE-2026-5223

mediumCVSS 4.0 6.5Published 25 May 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Rust Lang cargo

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning