CVE-2026-5223
Cargo crates in third party registries can override the cached source of other crates
5.3
MEDIUM
CVSS 3.1
EPSS 0.29%
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.
How to fix CVE-2026-5223
To remediate CVE-2026-5223, upgrade the affected package to a fixed version below.
- —upgrade to 1.91.1-r2 or later
- —no fix listed
- —no fix listed
- —no fix listed
- —upgrade to 0.97.0 or later
Is CVE-2026-5223 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- from 0, < 1.91.1-r2
- from 0
- from 0
- from 0
- from 0, < 0.97.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |