Vulnerability in Rust-lang Cargo

CVE-2026-5223

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 **medi…

EPSS: 0.001 (21.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-5223?
CVE-2026-5223 is a medium-severity vulnerability in Rust-lang Cargo, classified under UNIX Symbolic Link (Symlink) Following. CVSS score: 5.3/10. Published 2026-05-25.
How severe is CVE-2026-5223?
Medium severity. CVSS v3 base score is 5.3 out of 10.