CVE-2026-9737
MongoDB Analisi e mitigazione delle vulnerabilità

Panoramica

CVE-2026-9737 is a Denial of Service vulnerability in MongoDB Server caused by an unhandled meta expression case during query planning when reading sort patterns in raw BSONObj form. This leads to incorrect transformations and invariant failures, crashing the database service. Affected versions include MongoDB Server 7.0 before 7.0.39, 8.0 before 8.0.28, 8.2.0 before 8.2.12, and 8.3.0 before 8.3.7. The vulnerability was published on July 22, 2026, and carries a CVSS v3.1 base score of 6.5 (Medium) and a CVSS v4.0 base score of 7.1 (High) (GitHub Advisory).

Dettagli tecnici

The root cause is classified as CWE-617 (Reachable Assertion): during query planning, MongoDB reads sort patterns in raw BSONObj form but does not explicitly handle the meta expression case in all code paths. This omission leads to incorrect internal transformations that trigger an invariant failure — effectively an assertion violation — causing the server process to abort. An authenticated attacker with low privileges can exploit this remotely by submitting a crafted query containing a malformed sort pattern with a meta expression, requiring no user interaction and no special deployment conditions (GitHub Advisory, MongoDB Jira).

Impatto

Successful exploitation causes the MongoDB server process to crash due to an invariant failure, resulting in a complete loss of database availability for all connected clients and applications. There is no impact on confidentiality or data integrity, as the vulnerability is purely a Denial of Service condition. In environments without automatic restart or high-availability failover, this could result in extended service outages affecting all workloads dependent on the affected MongoDB instance (GitHub Advisory).

Passaggi di sfruttamento

  1. Obtain low-privilege credentials: Acquire any valid MongoDB user account with at least read or query permissions on a target database instance running an affected version (7.0 < 7.0.39, 8.0 < 8.0.28, 8.2.0 < 8.2.12, or 8.3.0 < 8.3.7).
  2. Connect to the target: Use the MongoDB shell (mongosh) or a MongoDB driver to connect to the target server over the network.
  3. Craft a malicious query: Construct a query that includes a sort pattern in raw BSONObj form containing a meta expression (e.g., { $meta: "textScore" }) in a context where the query planner does not handle it, such as a sort on a collection without a text index.
  4. Submit the query: Execute the crafted query against the target database. The query planner processes the sort pattern, encounters the unhandled meta expression case, performs an incorrect transformation, and triggers an invariant failure.
  5. Achieve Denial of Service: The invariant failure causes the MongoDB server process to abort, making the database unavailable to all clients (GitHub Advisory, MongoDB Jira).

Indicatori di compromesso

  • Logs: MongoDB server logs (mongod.log) showing an invariant failure or assertion error during query planning, typically accompanied by a stack trace referencing sort pattern or BSONObj processing code; abrupt process termination entries.
  • Process: Unexpected termination of the mongod process without a graceful shutdown signal; automatic restart events logged by the process supervisor (e.g., systemd, Docker).
  • Logs: Repeated authentication events from a low-privilege account followed immediately by query execution and server crash events in the MongoDB audit log.
  • Network: Network connections from unexpected or external IP addresses to the MongoDB port (default 27017) shortly before crash events.

Mitigazione e soluzioni alternative

MongoDB has released patched versions addressing this vulnerability: 7.0.39, 8.0.28, 8.2.12, and 8.3.7. Administrators should upgrade to the appropriate fixed version as the primary remediation. As interim workarounds, restrict database access to trusted, authenticated users only, and consider network-level controls (firewalls, VPNs) to limit exposure of the MongoDB port. Monitoring for unexpected server crashes related to query planning failures can help detect exploitation attempts (GitHub Advisory, MongoDB Jira).

Reazioni della comunità

A Reddit post in the r/pwnhub community discussed the vulnerability shortly after disclosure on July 22, 2026, though no significant expert commentary or vendor statements beyond the advisory have been identified. Community reaction appears limited, consistent with the lack of a public exploit and the requirement for authenticated access.

Risorse aggiuntive


FonteQuesto report è stato generato utilizzando l'intelligenza artificiale

Imparentato MongoDB Vulnerabilità:

CVE ID

Severità

Punteggio

Tecnologie

Nome del componente

Exploit CISA KEV

Ha la correzione

Data di pubblicazione

CVE-2026-9737HIGH7.1
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoJul 22, 2026
CVE-2026-13077HIGH7.1
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoJul 22, 2026
CVE-2026-13076HIGH7.1
  • MongoDB logoMongoDB
  • mongodb
NoJul 22, 2026
CVE-2026-13075HIGH7.1
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoJul 22, 2026
CVE-2026-13078MEDIUM6.3
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoJul 22, 2026

Valutazione gratuita delle vulnerabilità

Benchmark della tua posizione di sicurezza del cloud

Valuta le tue pratiche di sicurezza cloud in 9 domini di sicurezza per confrontare il tuo livello di rischio e identificare le lacune nelle tue difese.

Richiedi valutazione

Richiedi una demo personalizzata

Pronti a vedere Wiz in azione?

"La migliore esperienza utente che abbia mai visto offre piena visibilità ai carichi di lavoro cloud."
David EstlickCISO (CISO)
"Wiz fornisce un unico pannello di controllo per vedere cosa sta succedendo nei nostri ambienti cloud."
Adam FletcherResponsabile della sicurezza
"Sappiamo che se Wiz identifica qualcosa come critico, in realtà lo è."
Greg PoniatowskiResponsabile della gestione delle minacce e delle vulnerabilità