{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-5222","published":"2026-05-25T10:16:15.273000Z","last_modified":"2026-07-23T17:10:00.123000Z","status":"Analyzed","cvss":{"version":"4.0","score":2.3,"severity":"LOW","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"986d4109-89ea-491f-99fd-a8e4803919bd","primary":false},"auth":false,"cwes":["CWE-647"],"cpes":[{"criteria":"cpe:2.3:a:rust-lang:cargo:*:*:*:*:*:rust:*:*","part":"a","vendor":"rust-lang","product":"cargo","version_start_including":"1.68.0","version_end_excluding":"1.96.0"}],"cpes_truncated":false,"vendors":["rust-lang"],"products":["rust-lang/cargo"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-p688-r7jv-fm6f","ecosystem":"crates.io","name":"cargo","purl":"pkg:cargo/cargo","ranges":[{"introduced":"0","fixed":"0.97.0"}],"versions":[],"versions_truncated":false}],"severity":"low","priority_score":29,"links":{"html_es":"/es/cve/CVE-2026-5222/","html_en":"/en/cve/CVE-2026-5222/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-5222","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-5222"},"untrusted":{"vendor_name":"Rust-lang","product_name":"Cargo","desc_en":"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.","affected":[{"untrusted_vendor":"Rust","untrusted_product":"Cargo","versions":[]}],"references":[{"url":"https://blog.rust-lang.org/2026/05/25/cve-2026-5222/","tags":["Vendor Advisory"]},{"url":"https://github.com/rust-lang/cargo/pull/17031","tags":["Issue Tracking","Patch"]},{"url":"https://groups.google.com/g/rustlang-security-announcements/c/SfUxOiIdY5s","tags":["Mailing List","Third Party Advisory"]}]}}