llamaCVEVulnerability Intelligence
/
Mongoose

CVE-2026-125118

Mongoose prototype pollution in schema virtual() paths

Unauthenticated attackers who control virtual field names can pollute JavaScript prototypes and spoof access checks.

Parche disponibleprototype pollution
Descargar PNG JSON
CVSS 3.1
6.5
Media
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L Fuente: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche4 versionesPrimer parche a -17 d de la divulgación
Exposición9 dDesde la divulgación, 9 nov 2026, 5:29 p. m.
Detección11 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche 6.13.12 +3
Monitoreo
Detectada
Fuente: OSV
Fuente: NIST NVD
Verificada
23 oct 26
9 nov 26
10 nov 26
12 nov 26
14 nov 26
16 nov 26
19 nov 26
23 oct 26
30 oct 26
6 nov 26
12 nov 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 6.13.12 mongoose · -17 d desde divulgación
Remediación Parche 7.8.13 mongoose · -17 d desde divulgación
Remediación Parche 8.24.7 mongoose · -17 d desde divulgación
Remediación Parche 9.11.4 mongoose · -17 d desde divulgación
Divulgación Publicada CVE-2026-125118 divulgada · CVSS 6.5 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 9 nov 2026

Mongoose, a MongoDB object modeling tool for Node.js, has a prototype pollution flaw in how it builds nested virtual field paths, which can be reached remotely, without logging in, by anyone who can influence virtual field names in dynamic schemas. An attacker can write properties to core JavaScript prototypes, which can spoof inherited checks such as authorization flags and affect other server-side code.

Descripción original del registro (GitHub_M)

Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Prior to 6.13.12, 7.8.13, 8.24.7, and 9.11.4, Schema.prototype.virtual() builds nested virtual paths without applying the special-property validation already used by Schema.path() and Schema.add(). An attacker who can influence virtual field names in dynamic schemas, content-management form builders, or schema-as-code systems can supply path segments such as __proto__, constructor, or prototype, causing the virtual-path reducer to write enumerable properties to Object.prototype or Function.prototype. The resulting prototype pollution can spoof inherited property checks such as authorization flags and can provide function-prototype gadget state to other server-side JavaScript code. This issue is fixed in versions 6.13.12, 7.8.13, 8.24.7, and 9.11.4.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:L
AltoBajoNinguno
DisponibilidadA:L
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
mongoose< 6.13.12
mongoose≥ 7.0.0 < 7.8.13
mongoose≥ 8.0.0 < 8.24.7
mongoose≥ 9.0.0 < 9.11.4
6.13.12
7.0.0
7.8.13
8.0.0
8.24.7
9.0.0
9.11.4
9.12.2
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmmongoose
Corregida 6.13.12, 7.8.13, 8.24.7, 9.11.4 -17 d · -17 d · -17 d · -17 d 9.12.2 no afectada
Versiones corregidas6.13.127.8.138.24.79.11.4
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/Automattic/mongoose/security/advisories/GHSA-6972-9mcm-vhwj
Otrahttps://github.com/Automattic/mongoose/commit/318f7e09dd363a1dfddb8180878488dccd2796d1
Otrahttps://github.com/Automattic/mongoose/commit/74df7769b5a8d89c4413b764029911ee915ea467
Otrahttps://github.com/Automattic/mongoose/commit/7a2a6567abbb72c0430c8cc5b7942141844fecff
Otrahttps://github.com/Automattic/mongoose/commit/fb467e6d33174293dc0360649f20ce68d99117a9
Otrahttps://github.com/Automattic/mongoose/releases/tag/6.13.12
Otrahttps://github.com/Automattic/mongoose/releases/tag/7.8.13
Otrahttps://github.com/Automattic/mongoose/releases/tag/8.24.7
Otrahttps://github.com/Automattic/mongoose/releases/tag/9.11.4

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.