CVE-2026-5223

EUVD-2026-31658
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.
Symlink
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.3 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Base Score
CVSS 3.x
EPSS Score
Percentile: 21.42%
Affected Products (NVD)
VendorProductVersion
rust-langcargo
𝑥
< 1.96.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
cargo
bookworm
no-dsa
bullseye
postponed
rust-cargo
bookworm
no-dsa
bullseye
postponed
forky
0.91.0-4
fixed
sid
0.91.0-5
fixed
trixie
no-dsa
rustc
bookworm
no-dsa
bullseye
postponed
forky
1.95.0+dfsg1-2
fixed
sid
1.95.0+dfsg1-2
fixed
trixie
no-dsa
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
rustc-1.85
jammy
needs-triage
noble
needs-triage
questing
ignored
resolute
dne
rustc-1.88
jammy
dne
noble
dne
questing
ignored
resolute
dne
rustc-1.91
jammy
needs-triage
noble
needs-triage
questing
ignored
resolute
needs-triage
cargo
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
noble
dne
questing
dne
resolute
dne
rustc
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
noble
needs-triage
questing
dne
resolute
dne
trusty
needs-triage
rustc-1.62
jammy
needs-triage
noble
dne
questing
dne
resolute
dne
rustc-1.74
jammy
dne
noble
needs-triage
questing
dne
resolute
dne
rustc-1.76
focal
needs-triage
jammy
needs-triage
noble
needs-triage
questing
dne
resolute
dne
rustc-1.77
focal
needs-triage
jammy
needs-triage
noble
needs-triage
questing
dne
resolute
dne
rustc-1.78
focal
needs-triage
jammy
needs-triage
noble
needs-triage
questing
dne
resolute
dne
rustc-1.79
focal
needs-triage
jammy
needs-triage
noble
needs-triage
questing
dne
resolute
dne
rustc-1.80
focal
needs-triage
jammy
needs-triage
noble
needs-triage
questing
dne
resolute
dne
rustc-1.81
jammy
needs-triage
noble
needs-triage
questing
dne
resolute
dne
rustc-1.82
jammy
needs-triage
noble
needs-triage
questing
dne
resolute
dne
rustc-1.83
jammy
needs-triage
noble
needs-triage
questing
dne
resolute
dne
rustc-1.84
jammy
needs-triage
noble
needs-triage
questing
dne
resolute
dne
rustc-1.89
jammy
needs-triage
noble
needs-triage
questing
dne
resolute
dne
rustc-1.92
jammy
dne
noble
dne
questing
dne
resolute
needs-triage
rustc-1.93
jammy
dne
noble
dne
questing
dne
resolute
needs-triage
Azure Linux logo
Azure Linux Releases
Azure Package
Release
rust
Azure Linux 3.0
0:1.75.0-30.azl3
fixed