CVE-2026-5223

published 25 May 2026 · updated 16 Nov 2026

Crates in third party registries can override the cached source of other crates

6.5MediumCVSS 6.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.96.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Rust Project>=1.0.0 <1.96.01.96.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-5223 severity on Zeptric[![CVE-2026-5223](https://zeptric.io/badge/cve/CVE-2026-5223.svg)](https://zeptric.io/cve/CVE-2026-5223)