CVE-2026-142596: fallo de gravedad alta en Automattic mongoose
Mongoose: sanitizeProjection can be bypassed to include fields deselected with `select: false`
Publicada el · Actualizada el
Aviso por correo cuando entre en el KEV, tenga PoC pública o suba de nota.
41Vexday Risk Score
Sin señal de explotación. Ella tiene prueba de concepto pública.
ssvc Attendcvss 7.5epss 0.7%
de la publicación al arma2 días
Publicada en NVD2 dic
1ª PoC+2d
Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. From 8.5.0 until 8.24.10 and 9.12.2, Mongoose's sanitizeProjection can be bypassed by +path selections, object or array aggregation expressions, nested and parent projections, positional projections, $meta, discriminator-specific exclusions, an own __proto__ key, and projection-cast error paths. Applications that pass attacker-controlled data to select(), find(filter, projection), or the projection option while relying on sanitizeProjection can return fields marked select: false, including password hashes, reset tokens, API keys, and nested secrets. Nested exclusion objects, $elemMatch combined with an exclusion or a cast error, and discriminator filters can also cause ordinary queries that do not enable sanitizeProjection to omit the select: false exclusions that Mongoose normally adds. This issue is fixed in versions 8.24.10 and 9.12.2.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Productos afectados
Automattic · mongoosePoCs públicas encontradas — 1
githubgithub.com/googlesky/CVE-2026-142596★ 0⚠ Recursos públicos, para evaluar la exposición de sistemas que controlas o estás autorizado a probar. Prueba solo con autorización.
CVEs relacionadas — Automattic mongoose
En el mismo producto, de las más peligrosas a las menos.
CVE-2026-142595MEDIUMMongoose: `sanitizeFilter` bypass via MongoDB internal top-level query operators such as `$_internalSchemaXor`EPSS 0.8%CVE-2026-125120CRITICALMongoose: sanitizeFilter not applied on countDocumentsEPSS 0.7%CVE-2026-125117HIGHMongoose walks into inherited properties when hydrating, setting, and merging, allowing overwrites of built-in functions (denial of service) and shared schema stateEPSS 0.7%CVE-2026-125119HIGHMongoose: Connection-level sanitizeFilter not appliedEPSS 0.7%CVE-2026-142608NONEMongoose: Plain objects with a forged _bsontype bypass ObjectId and String casting, leaking and replaying data from other commandEPSS 0.7%CVE-2026-125118MEDIUMMongoose: Prototype pollution via Schema.prototype.virtual()EPSS 0.6%
Referencias
https://github.com/Automattic/mongoose/commit/c369da407ee8bea907bb5af7bb94ce5deeb3e0e4https://github.com/Automattic/mongoose/commit/c5483b71438ececde3a272feef65e14666614093https://github.com/Automattic/mongoose/releases/tag/8.24.10https://github.com/Automattic/mongoose/releases/tag/9.12.2https://github.com/Automattic/mongoose/security/advisories/GHSA-xfcm-rmv3-crmq