CVE-2026-5222Rust-lang Cargo
Baja 2.3 Sin autenticación
Seguir: esta CVE · Rust-lang · Rust-lang Cargo Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 29
- CVSS 4.0
- 2.3
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 25 may 2026
- Actualizada
- 23 jul 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-647
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- 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
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Cargo.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| crates.io | cargo |
< 0.97.0 |
0.97.0 |
cargo update -p cargo --precise 0.97.0 |
Según OSV / GitHub Advisories (GHSA-p688-r7jv-fm6f). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| rust-lang | cargo | ≥ 1.68.0 < 1.96.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- blog.rust-lang.org Vendor Advisory
- github.com Issue Tracking Patch
- groups.google.com Mailing List Third Party Advisory