CVE-2026-5223
Crates in third party registries can override the cached source of other crates
02 Description
Crates in third party registries can override the cached source of other crates
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 0.29% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 21.8% of scored records. A rank, not a probability.
- NVD base score
- 6.5 (CVSS v4.0), scored by the NVD independently of the CNA.
- NVD CVSS vector
- 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/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
- NVD analysis status
- Analyzed. NVD last modified this record on 2026-07-23.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2026-05-25 08:57Z5 MO AGO
- Last updated
- 2026-05-27 18:35Z5 MO AGO
- Reserved
- 2026-03-31
- Assigning CNA
- rust
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 6.5)
- CNA CVSS vector
- 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
- Weaknesses
- Data version
- 5.2
- Document digest
- 3c2dcca950b58148a1d01f1f105ae13348d31a06b2d29a9d022049bd93d546f6
05 Affected products
06 References
- groups.google.comhttps://groups.google.com/g/rustlang-security-announcements/c/IB74S7Yksg8
- blog.rust-lang.orghttps://blog.rust-lang.org/2026/05/25/cve-2026-5223/
- github.comhttps://github.com/rust-lang/cargo/pull/17031
07 Remediation
Rust 1.96.0, to be released on May 28th, 2026, will update Cargo to reject extracting *any* symlink within crate tarballs, regardless of whether they come from crates.io (which already forbids them) or third-party registries. Note that Cargo never added symlinks when running `cargo package` or `cargo publish`, so the impact of this should be minimal.
08 Fixed in
Debian 12
- cargo No fix yet
- rust-cargo No fix yet
- rustc No fix yet
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- rust-cargo No fix yet
- rustc Fixed in 1.85.1+dfsg1-1+deb13u1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- rust-cargo Fixed in 0.91.0-3
- rustc Fixed in 1.95.0+dfsg1-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- rustc No fix yet
- rustc-1.62 No fix yet
- rustc-1.76 No fix yet
- rustc-1.77 No fix yet
- rustc-1.78 No fix yet
- rustc-1.79 No fix yet
- rustc-1.80 No fix yet
- rustc-1.81 No fix yet
- rustc-1.82 No fix yet
- rustc-1.83 No fix yet
- rustc-1.84 No fix yet
- rustc-1.85 No fix yet
- rustc-1.89 No fix yet
- rustc-1.91 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- rustc No fix yet
- rustc-1.74 No fix yet
- rustc-1.76 No fix yet
- rustc-1.77 No fix yet
- rustc-1.78 No fix yet
- rustc-1.79 No fix yet
- rustc-1.80 No fix yet
- rustc-1.81 No fix yet
- rustc-1.82 No fix yet
- rustc-1.83 No fix yet
- rustc-1.84 No fix yet
- rustc-1.85 No fix yet
- rustc-1.89 No fix yet
- rustc-1.91 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 25.10
- rustc-1.85 No fix yet
- rustc-1.88 No fix yet
- rustc-1.91 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.04 LTS
- rustc-1.91 No fix yet
- rustc-1.92 No fix yet
- rustc-1.93 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- rustc No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- cargo No fix yet
- rustc No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- cargo No fix yet
- rustc No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- cargo No fix yet
- rustc No fix yet
- rustc-1.76 No fix yet
- rustc-1.77 No fix yet
- rustc-1.78 No fix yet
- rustc-1.79 No fix yet
- rustc-1.80 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 22.04 LTS
- cargo No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.