Rustc: Cargo incorrectly handled symlinks inside of crate tarballs downloaded from third-party registries, allowing a
Affects rustcSource GCVE Database
Not known to be exploited · CVSS 6.5 Medium.
Data as of 24 Nov 2026, 21:16 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.
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 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSrustc-1.91pkg:deb/ubuntu/rustc-1.91?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSrustc-1.92pkg:deb/ubuntu/rustc-1.92?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSrustc-1.93pkg:deb/ubuntu/rustc-1.93?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10rustc-1.85pkg:deb/ubuntu/rustc-1.85?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10rustc-1.88pkg:deb/ubuntu/rustc-1.88?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10rustc-1.91pkg:deb/ubuntu/rustc-1.91?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2026-5223 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-5223 (opens in a new tab)
- blog.rust-lang.org/2026/05/25/cve-2026-5223/ (opens in a new tab)
- github.com/rust-lang/cargo/pull/17031 (opens in a new tab)
- groups.google.com/g/rustlang-security-announcements/c/IB74S7Yksg8 (opens in a new tab)