CVE-2026-96299: 
MongoDB Análisis y mitigación de vulnerabilidades

Vista general

CVE-2026-96299 is a denial-of-service vulnerability in MongoDB's mongos sharded cluster router component, where an authenticated user with readWrite privileges can crash the mongos process by crafting a specially formed aggregation pipeline. The vulnerability was published on October 13, 2026, and affects MongoDB Server versions 8.3.0 through 8.3.12 and 9.0.0 through 9.0.3. It carries a CVSS v3.1 base score of 6.5 (Medium) and a CVSS v4.0 base score of 7.1 (High) (GitHub Advisory, Feedly).

Detalles técnicos

The root cause involves two weaknesses: CWE-617 (Reachable Assertion) and CWE-770 (Allocation of Resources Without Limits or Throttling). An internal aggregation stage in mongos lacks proper authorization checks despite being intended exclusively for internal use; an attacker can invoke this stage in a user-supplied aggregation pipeline, forcing a subsequent stage to execute on the router under conditions it was not designed to handle. This triggers an unhandled fatal assertion error, causing the mongos process to immediately abort. A secondary description from ENISA/EUVD notes that internal schema validation operators accepted in user-supplied query filters, when nested and applied to array-containing documents, can also cause unbounded memory consumption until the process terminates (GitHub Advisory, MongoDB Jira).

Impacto

Successful exploitation results in an immediate, complete denial of service for all clients routed through the affected mongos instance, as the process aborts without recovery. There is no confidentiality or integrity impact — data is not exposed or modified. Because mongos acts as the entry point for all sharded cluster traffic, a single authenticated attacker can disrupt database availability for all downstream applications relying on that router (GitHub Advisory, Feedly).

Explotabilidad

No public proof-of-concept exploit code or in-the-wild exploitation has been reported as of the disclosure date. The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation requires valid credentials with at least readWrite privileges, which limits the attacker pool but does not eliminate risk in multi-tenant or shared environments (GitHub Advisory, Feedly).

Pasos de explotación

  1. Obtain credentials: Acquire valid MongoDB credentials with at least readWrite privileges on a database hosted on a sharded cluster (e.g., via a compromised application account or a free-tier/trial account).
  2. Connect to mongos: Establish a connection to the target mongos router endpoint using a MongoDB client (e.g., mongosh, PyMongo, or the MongoDB driver of choice).
  3. Craft malicious aggregation pipeline: Construct an aggregation pipeline that invokes an internal-only aggregation stage (one lacking proper authorization enforcement) followed by a stage that is incompatible with execution on the router.
  4. Execute the pipeline: Run the crafted aggregation query against a collection on the sharded cluster. The mongos process evaluates the pipeline, hits the unauthorized internal stage, and triggers an unhandled fatal assertion.
  5. Achieve denial of service: The mongos process immediately aborts, severing all client connections routed through it and causing a denial of service for all dependent applications (GitHub Advisory, MongoDB Jira).

Indicadores de compromiso

  • Logs: Sudden mongos process termination entries in MongoDB logs (e.g., CONTROL severity messages indicating a fatal assertion or abort signal); log lines referencing assertion failures in aggregation pipeline execution.
  • Process: Unexpected exit/restart of the mongos process without a corresponding system-level cause (OOM killer, hardware fault, etc.); monitoring alerts for mongos process crashes.
  • Network: Abrupt disconnection of all client sessions routed through a specific mongos instance; connection timeout errors from application servers targeting the mongos endpoint.
  • Application Logs: Downstream application errors indicating loss of database connectivity coinciding with mongos restart events; repeated aggregation query attempts from a single authenticated user prior to the crash (GitHub Advisory).

Mitigación y soluciones alternativas

MongoDB has released patched versions addressing this vulnerability: 8.3.13 and 9.0.4. Users running MongoDB Server 8.3.0–8.3.12 or 9.0.0–9.0.3 in sharded cluster configurations should upgrade to the respective fixed versions immediately. As a temporary measure, restricting readWrite privileges to only fully trusted users and monitoring for unusual aggregation pipeline activity can reduce exposure until patching is feasible (GitHub Advisory, MongoDB Jira).

Recursos adicionales

Estado de corrección de la distribución Linux

Arreglar la disponibilidad en las principales distribuciones de Linux y sus lanzamientos.

Ubuntu

Desconocido

bionic (esm-apps)

mongodb

Desconocido

focal (esm-apps)

mongodb

Desconocido

trusty (esm-infra-legacy)

mongodb

Desconocido

xenial (esm-apps-legacy)

mongodb

Desconocido

Fuente: Este informe se generó usando IA

Relacionado MongoDB Vulnerabilidades:

CVE ID

Gravedad

Puntuación

Tecnologías

Nombre del componente

Exploit CISA KEV

Tiene solución

Fecha de publicación

CVE-2026-96299HIGH7.1
  • MongoDB logoMongoDB
  • mongodb
NoSíOct 13, 2026
CVE-2026-104005HIGH7.1
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoSíOct 13, 2026
CVE-2026-104004HIGH7.1
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoSíOct 13, 2026
CVE-2026-96297MEDIUM6
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoSíOct 13, 2026
CVE-2026-103965MEDIUM5.3
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoSíOct 13, 2026

Evaluación gratuita de vulnerabilidades

Haz un benchmark de tu postura de seguridad en la nube

Evalúa tus prácticas de seguridad en la nube en 9 dominios de seguridad para evaluar tu nivel de riesgo e identificar brechas en tus defensas.

Evaluación de solicitudes

Recursos adicionales de Wiz

Obtén una demostración personalizada

¿Listo para ver a Wiz en acción?

"La mejor experiencia de usuario que he visto en mi vida, proporciona una visibilidad completa de las cargas de trabajo en la nube."
David EstlickCISO
"Wiz proporciona un panel único para ver lo que ocurre en nuestros entornos en la nube."
Adam FletcherJefe de Seguridad
"Sabemos que si Wiz identifica algo como crítico, en realidad lo es."
Greg PoniatowskiJefe de Gestión de Amenazas y Vulnerabilidades