VDB

CVE-2026-5223

CVE-2026-5223 PUBLISHED CVSS 6.5 MEDIUM

Reported by rust · Published May 25, 2026

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.

Risk Scores

CVSS v4.0
6.5
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

Affected Products

VendorProductVersions
Rust ProjectCargo1.0.0
Rust ProjectCargo1.0.0, 1.0.0
alpinerust0, 0, 0

Timeline

  • May 25, 2026 EPSS Score
  • May 25, 2026 CVE Published
  • May 26, 2026 EPSS Score
  • May 27, 2026 EPSS Score
  • May 27, 2026 CVE Updated
  • May 28, 2026 EPSS Score
  • May 29, 2026 EPSS Score
  • May 30, 2026 EPSS Score
  • May 31, 2026 EPSS Score
  • Jun 1, 2026 EPSS Score

References

  • vendor-advisorymailing-list
  • vendor-advisory
  • patch
Open in Interactive Console →
$ Console Community · 100/wk Open console ›