# CVE-2026-5223: Crates in third party registries can override the cached source of other crates

CVE-2026-5223 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2026-5223, released May 25, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-5223
- Priority: Routine
- CVSS: 5.3 (Low)
- EPSS: 0.0029
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 25, 2026
- Weakness: UNIX Symbolic Link (Symlink) Following
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-5223

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | rust-cargo Debian 14 | 0.91.0-3 | [DEBIAN-CVE-2026-5223](https://patchblox.com/security/data/fix/linux/debian-cve-2026-5223.md) | May 25, 2026 |
| Linux | rustc Debian 13.5 (trixie) | 1.85.1+dfsg1-1+deb13u1 | [DEBIAN-CVE-2026-5223](https://patchblox.com/security/data/fix/linux/debian-cve-2026-5223.md) | May 25, 2026 |
| Linux | rustc Debian 14 | 1.95.0+dfsg1-2 | [DEBIAN-CVE-2026-5223](https://patchblox.com/security/data/fix/linux/debian-cve-2026-5223.md) | May 25, 2026 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
