Skip to main content
VulnerabilityPublished Updated

CVE-2026-5223: Rust Project Cargo · UNIX symbolic link (symlink) following

Affects Rust Project CargoSource CVE Database V5

0
Compare

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

CVSS 4.0 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Rust ProjectCargoAffected
  • >=1.0.0 <1.96.0
Fixed in
  • 1.96.0
crates.iogithub/rust-lang/cargopkg:cargo/github/rust-lang/cargoOther threatsAffected
  • =1.0.0
Fixed in–
crates.iocargopkg:cargo/cargoOther threatsAffected
  • >=1.0.0 <1.96.0
Fixed in
  • 1.96.0

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.

References

Community reviews

Loading reviews…