VULNERABILITY INTELLIGENCE
CVE-2026-5223
CVSS score5.3 MEDIUM
EPSS probability0.29%
CISA KEVNot currently listed
Published2026-05-25
Last modified2026-07-23
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
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.
Weakness classification
- 986d4109-89ea-491f-99fd-a8e4803919bd: CWE-61
Primary references
- 986d4109-89ea-491f-99fd-a8e4803919bd — Mitigation, Vendor Advisory
- 986d4109-89ea-491f-99fd-a8e4803919bd — Issue Tracking, Patch
- 986d4109-89ea-491f-99fd-a8e4803919bd — Mailing List, Third Party Advisory