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.
Conclusion & alert: CVE-2026-5223 is rated Low Risk (32.4/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.06%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-31 | 0.04% | 0.06% | +0.01% |
| 2 | 2026-05-25 | — | 0.04% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.5 | 4.0 | MEDIUM |
|
— | — | 986d4109-89ea-491f-99fd-a8e4803919bd |
| 5.3 | 3.1 | MEDIUM |
|
3.9 | 1.4 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-5223 not yet assigned priority: Debian including 3 source packages (cargo, rust-cargo, rustc), 12 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 8, resolved 4. | https://security-tracker.debian.org/tracker/CVE-2026-5223 |
suse
|
medium | — | https://www.suse.com/security/cve/CVE-2026-5223/ |
ubuntu
|
medium | CVE-2026-5223 medium priority: Ubuntu including 19 source packages (cargo, rustc, …), 105 status rows across 8 suites (bionic, focal, jammy, noble, questing, resolute, trusty, upstream): needs-triage 64, DNE 41. | https://ubuntu.com/security/CVE-2026-5223 |
| URL | Tags |
|---|---|
| https://blog.rust-lang.org/2026/05/25/cve-2026-5223/ | Mitigation Vendor Advisory |
| https://github.com/rust-lang/cargo/pull/17031 | Issue Tracking Patch |
| https://groups.google.com/g/rustlang-security-announcements/c/IB74S7Yksg8 | Third Party Advisory Mailing List |