CVE-2026-5222
Cargo can be coerced to share credentials between registries
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
Fuente: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NCiclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-5222 divulgada · CVSS 2.3 (CNA) | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Remediación | Parche 0.97.0 | cargo · 3 d desde divulgación | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
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.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
crates.iocargo |
Corregida | 0.97.0 | 3 d | 0.100.0 no afectada |
0.97.01.96.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://groups.google.com/g/rustlang-security-announcements/c/SfUxOiIdY5shttps://blog.rust-lang.org/2026/05/25/cve-2026-5222/https://github.com/rust-lang/cargo/pull/17031Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
