CVE-2025-1691Mongodb Mongosh
Media 6.5 Sin autenticación
Seguir: esta CVE · Mongodb · Mongodb Mongosh Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 54
- CVSS 3.1
- 6.5
- EPSS
- 0.7% probabilidad de explotación en 30 días · percentil 49
- Requiere autenticación
- No
- Publicada
- 27 feb 2025
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-74
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Qué pasa
The MongoDB Shell may be susceptible to control character injection where an attacker with control of the mongosh autocomplete feature, can use the autocompletion feature to input and run obfuscated malicious text. This requires user interaction in the form of the user using ‘tab’ to autocomplete text that is a prefix of the attacker’s prepared autocompletion. This issue affects mongosh versions prior to 2.3.9.
The vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Mongosh.
- 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 |
|---|---|---|---|---|
| npm | mongosh |
< 2.3.9 |
2.3.9 |
npm install mongosh@2.3.9 |
Según OSV / GitHub Advisories (GHSA-43g5-2wr2-q7vj). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| mongodb | mongosh | < 2.3.9 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- jira.mongodb.org Issue Tracking Vendor Advisory