CVE-2026-5223: Rust Project Cargo · UNIX symbolic link (symlink) following
Affects Rust Project CargoSource CVE Database V5
Not known to be exploited · CVSS 6.5 Medium : upgrade to 1.96.0 when convenient.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 22% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.96.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:H/SI:H/SA:HExploitation evidence
Disclosed: evidence found.
CVE published 25 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade Cargo and cargo to 1.96.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Rust ProjectCargo | Affected
| Fixed in
|
crates.iogithub/rust-lang/cargopkg:cargo/github/rust-lang/cargoOther threats | Affected
| Fixed in– |
crates.iocargopkg:cargo/cargoOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, users should avoid using third-party registries that allow symlinks in crates or verify crate contents before use. Users relying solely on crates.io are not affected and require no action.
Description
CVE-2026-5223 is a medium severity vulnerability in Rust's Cargo tool where symlinks inside crate tarballs from third-party registries are incorrectly handled. This flaw allows a malicious crate to override the source code of another crate from the same registry. Users of the official crates.io registry are not affected because it forbids uploading crates containing symlinks.