UNIX symbolic link following in Cargo - CVE-2026-5223

 

UNIX symbolic link following in Cargo - CVE-2026-5223

Published: May 26, 2026


Vulnerability identifier: #VU132304
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:U/U:Green
CVE-ID: CVE-2026-5223
CWE-ID: CWE-61
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: The Rust Programming Language
Affected software:
Cargo

Detailed vulnerability description

The vulnerability allows a remote attacker to compromise the target system.

The vulnerability exists due to a symlink following issue within crates in third party registries. A remote attacker can override the cached source of other crates.


How to mitigate CVE-2026-5223

Install updates from vendor's website.

Sources