🛡️ CVE-2026-5223 on Debian — cargo
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.
Distribution advisory
This page covers CVE-2026-5223 as tracked by Debian, for the package cargo. The fix is available in version 0.91.0-3; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity low, availability none.
Weakness class
DEBIAN-CVE-2026-5223 is classified as CWE-61: UNIX Symbolic Link (Symlink) Following. The product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere.
Affected software
DEBIAN-CVE-2026-5223 is recorded against 3 packages.
- cargo
- rust-cargo (fixed in 0.91.0-3)
- rustc (fixed in 1.95.0+dfsg1-2)
Timeline and source
Published on 25 May 2026 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2026-5223 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| cargo | — | — |
| rust-cargo | — | 0.91.0-3 |
| rustc | — | 1.95.0+dfsg1-2 |
References
Similar Threats
- Critical CVE-2026-14363
- Medium CVE-2026-39837
- Medium CVE-2026-39839
- Medium CVE-2026-39840
- Medium CVE-2026-39841
Vulnerability Monitoring
Track new vulnerabilities in cargo
DEBIAN-CVE-2026-5223 is rated CVSS 5.3 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.