CVE-2026-5223: rust project cargo UNIX Symbolic Link (Symlink) Following
Vulnerability summary
CVE-2026-5223 is a medium (CVSS 6.5) UNIX Symbolic Link (Symlink) Following vulnerability in rust project cargo. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 20.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1Timeline
- 25-05-2026PublishedVulnerability first disclosed.
- 27-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 6 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:H/SI:H/SA:H
- OSV · Crates.ioEcosystem advisory · calculated6.5MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:H/SI:H/SA:H
- NVDNIST6.5MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
0.29%
Chance of exploitation in the next 30 days
Percentile
21%
Versus all other CVEs
30-day change
0.00 pp
From 0.29% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu19 products
- cargoAll versions (No fix recorded)
- rustcAll versions (No fix recorded)
- rustc-1.62All versions (No fix recorded)
- rustc-1.74All versions (No fix recorded)
- rustc-1.76All versions (No fix recorded)
Debian3 products
- cargoAll versions (No fix recorded)
- rust-cargoAll versions (No fix recorded) | < 0.91.0-3
- rustcAll versions (No fix recorded) | < 1.85.1+dfsg1-1+deb13u1 | < 1.95.0+dfsg1-2
Alpine1 product
- rust< 1.91.1-r2 | < 1.96.0-r0
Crates.Io1 product
- cargo< 0.97.0
Rust project1 product
- cargo≥ 1.0.0, < 1.96.0
Rust-lang1 product
- cargo< 1.96.0
6 vendors · 26 products
References
11 links- groups.google.com/g/rustlang-security-announcements/c/IB74S7Yksg8Vendor AdvisoryMailing ListREPORTWEBThird Party Advisory
Show all 11 references
- github.com/rust-lang/cargoPACKAGE