CVE-2026-5222: Rust Cargo · Use of Non-Canonical URL paths for authorization decisions
Affects Rust CargoSource CVE Database V5
Not known to be exploited · CVSS 2.3 Low : upgrade to 1.96.0 when convenient.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 41% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.96.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 25 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade Cargo and cargo to 1.96.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| RustCargo | Affected
| Fixed in
|
crates.iogithub.com/rust-lang/cargopkg:cargo/github.com/rust-lang/cargoOther threats | Affected
| Fixed in– |
crates.iocargopkg:cargo/cargoOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
CVE-2026-5222 is a low-severity vulnerability in Rust Cargo version 1.68.0 where URL normalization for third-party registries using the sparse index protocol is incorrect. This flaw could allow an attacker who can publish crates in a registry hosted on a domain with multiple arbitrary-named registries to potentially obtain credentials of other users of the same registry. Exploitation requires very specific conditions, limiting the overall impact.