CVE-2026-5223CWE-61

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

Medium · published May 25, 2026

CVSS v4.0
6.5
EPSS
0%
Percentile
20.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.5 · MEDIUM
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
EPSS
0.00294 · 20.9th percentile
Weakness
CWE-61 · UNIX Symbolic Link (Symlink) Following
Published
2026-05-25T08:57Z
EPSS history
Timeline
  • 25 MAY 08:57Z
    Crates in third party registries can override the cached source of other crates
    cvelistv5