Skip to main content
CVE-2026-5223VulnerabilityPublished Updated

Rustc: Cargo incorrectly handled symlinks inside of crate tarballs downloaded from third-party registries, allowing a

Affects rustcSource GCVE Database

0
Compare
Authoritative record:CVE-2026-5223· Medium 6.5

Not known to be exploited · CVSS 6.5 Medium.

Data as of 24 Nov 2026, 21:16 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.
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 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSrustc-1.91pkg:deb/ubuntu/rustc-1.91?arch=source&distro=resoluteOther threatsAffected
  • =1.91.1+dfsg-0ubuntu1
  • =1.91.1+dfsg-0ubuntu2
  • =1.91.1+dfsg-0ubuntu3
Fixed in–
Ubuntu 26.04 LTSrustc-1.92pkg:deb/ubuntu/rustc-1.92?arch=source&distro=resoluteOther threatsAffected
  • =1.92.0+dfsg-0ubuntu1
  • =1.92.0+dfsg-0ubuntu2
Fixed in–
Ubuntu 26.04 LTSrustc-1.93pkg:deb/ubuntu/rustc-1.93?arch=source&distro=resoluteOther threatsAffected
  • =1.93.1+dfsg-0ubuntu4
  • =1.93.1+dfsg-0ubuntu5
  • =1.93.1+dfsg-0ubuntu6
Fixed in–
Ubuntu 25.10rustc-1.85pkg:deb/ubuntu/rustc-1.85?arch=source&distro=questingOther threatsAffected
  • =1.85.1+dfsg0ubuntu1-0ubuntu1
  • =1.85.1+dfsg0ubuntu2-0ubuntu1
  • =1.85.1+dfsg0ubuntu2-0ubuntu1.25.04.1
Fixed in–
Ubuntu 25.10rustc-1.88pkg:deb/ubuntu/rustc-1.88?arch=source&distro=questingOther threatsAffected
  • =1.88.0+dfsg0ubuntu1-0ubuntu1
  • =1.88.0+dfsg0ubuntu1-0ubuntu2
Fixed in–
Ubuntu 25.10rustc-1.91pkg:deb/ubuntu/rustc-1.91?arch=source&distro=questingOther threatsAffected
  • =1.91.1+dfsg-0ubuntu3~25.10.1
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

Community reviews

Loading reviews…