CVE-2026-5223

MEDIUM CVSS 4.0: 6.5 EPSS 0.29%
Updated Jul 23, 2026
Rust-Lang
Parameter Value
CVSS 6.5 (MEDIUM)
Affected Versions before 1.96.0
Fixed In 1.96.0
Type CWE-61 (UNIX Symlink Following)
Vendor Rust-Lang
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
None
No data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Rust-Lang Cargo
cpe:2.3:a:rust-lang:cargo:*:*:*:*:*:rust:*:*
— 1.96.0

Related Vulnerabilities