Cargo between 1.68 and 1.96 incorrectly normalized the URLs of third-party registries using the sparse index protocol. If a hosting provider allowed multiple registries to be hosted with arbitrary names within the same domain, an attacker able to publish crates in a registry could obtain the credentials of others users of the same registry. The severity of the vulnerability is low, due to the extremely niche requirements needed to achieve the attack.
CVE-2026-5222
This medium-severity CVE scores 6.5 under NVD CVSS v3. EPSS exploit probability: 0.3%, top 75% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.5
- EG Score
- 6.5(medium)
- EPSS
- 24.9%
- KEV
- Not listed
Published
May 25, 2026
Last Modified
June 1, 2026
Advisory Details (3)
Auto-updated Jun 13, 2026Fix CVE-2026-5222 and CVE-2026-5223
Fix merged in rust-lang/cargo PR #17031 on 2026-05-25 — awaiting tagged release
https://github.com/rust-lang/cargo/pull/17031Security Advisory for Cargo (CVE-2026-5222) | Rust Blog
https://blog.rust-lang.org/2026/05/25/cve-2026-5222/Vendor Advisories for CVE-2026-5222(2)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 12× in last 7d / 57× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 107 total refreshes for this CVE.
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-13 22:31 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:31 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:07 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 02:13 UTCEG score recompute
- 2026-06-29 02:13 UTCVendor advisory
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 19:57 UTCEG score recompute
- 2026-06-27 19:57 UTCVendor advisory
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 18:57 UTCEG score recompute
- 2026-06-26 18:57 UTCVendor advisory
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:38 UTCEG score recompute
- 2026-06-25 13:38 UTCVendor advisory
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:26 UTCEPSS rescore
- 2026-06-19 19:26 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 20:12 UTCEG score recompute
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-16 19:13 UTCEG score recompute
- 2026-06-16 19:13 UTCVendor advisory
- 2026-06-16 17:53 UTCEPSS rescore
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 14:41 UTCEG score recompute
- 2026-06-15 14:41 UTCVendor advisory
- 2026-06-14 23:18 UTCEPSS rescore
- 2026-06-14 11:37 UTCEG score recompute
- 2026-06-14 11:37 UTCVendor advisory
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-13 10:38 UTCEG score recompute
- 2026-06-13 10:38 UTCVendor advisory
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 09:31 UTCEG score recompute
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-11 08:31 UTCEG score recompute
- 2026-06-10 22:19 UTCEPSS rescore
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 07:32 UTCEG score recompute
- 2026-06-09 06:29 UTCEG score recompute
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 05:29 UTCEG score recompute
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-07 04:30 UTCEG score recompute
- 2026-06-07 04:30 UTCEG score recompute
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 03:30 UTCEG score recompute
- 2026-06-05 22:47 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 02:31 UTCEG score recompute
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 01:31 UTCEG score recompute▲ 4.20
- 2026-06-02 20:13 UTCEPSS rescore
- 2026-06-01 13:52 UTCEPSS rescore
- 2026-06-01 13:52 UTCEPSS rescore
- 2026-06-01 02:22 UTCEG score recompute
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-29 13:44 UTCEPSS rescore
- 2026-05-29 13:44 UTCEPSS rescore
Frequently asked(5)
What is CVE-2026-5222?
When was CVE-2026-5222 disclosed?
Is CVE-2026-5222 actively exploited?
What is the CVSS score of CVE-2026-5222?
How do I remediate CVE-2026-5222?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-5222
Is Your Infrastructure Affected by CVE-2026-5222?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.