CVE-2026-18707
MongoDB vulnerability analysis and mitigation

Overview

CVE-2026-18707 is a denial-of-service vulnerability in MongoDB Server that allows any authenticated user — including those with no assigned privileges — to crash the server process by submitting a specially crafted aggregation command. It affects MongoDB Server versions 8.3.0 through 8.3.7 (fixed in 8.3.8). The vulnerability was published on August 11, 2026, with a CVSS v3.1 score of 4.3 (Medium) and a CVSS v4.0 score of 5.3 (Medium) (GitHub Advisory).

Technical details

The root cause is a reachable assertion (CWE-617), where a specially formed aggregation command triggers an internal assert() or equivalent statement, causing the MongoDB Server process to terminate unexpectedly. The attack vector is network-based, requires only low privileges (any valid authenticated account, even one with no assigned roles), and has no additional complexity or user interaction requirements. The flaw is tracked internally by MongoDB under Jira ticket SERVER-128482 (GitHub Advisory, MongoDB Jira).

Impact

Successful exploitation results in an unexpected termination of the MongoDB Server process, causing a denial of service for all clients and applications dependent on that database instance. There is no impact to confidentiality or data integrity, and no evidence of lateral movement potential. The availability impact is limited to the vulnerable MongoDB Server instance itself, with no subsequent system impact identified (GitHub Advisory).

Exploitability

There is no public proof-of-concept exploit and no evidence of active in-the-wild exploitation at this time. The EPSS score is approximately 0.262% (18th percentile), indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, and NVD's SSVC assessment classifies exploitation as "none" and the vulnerability as not automatable (GitHub Advisory).

Exploitation steps

  1. Obtain authentication credentials: Acquire any valid MongoDB account, including a low-privilege or zero-privilege account (e.g., a free trial or self-provisioned account on an exposed instance).
  2. Connect to the target: Use a MongoDB client (e.g., mongosh, PyMongo, or the MongoDB shell) to connect to the target MongoDB Server 8.3.0–8.3.7 instance over the network.
  3. Craft a malicious aggregation command: Construct a specially formed aggregation pipeline or command designed to trigger the internal reachable assertion in the server's aggregation processing code.
  4. Submit the command: Execute the crafted aggregation command against any accessible database or collection on the server.
  5. Server crash achieved: The assertion is triggered, causing the mongod process to terminate unexpectedly, resulting in a denial of service for all connected clients (GitHub Advisory, MongoDB Jira).

Indicators of compromise

  • Logs: Unexpected mongod process termination entries in MongoDB logs (mongod.log), particularly assertion failure messages or abrupt shutdown notices without a clean shutdown sequence.
  • Logs: Repeated aggregation command submissions from a single authenticated user or IP address immediately preceding a server crash.
  • Process: Sudden disappearance of the mongod process without a scheduled maintenance window or operator-initiated shutdown.
  • Network: Unusual aggregation command traffic from low-privilege accounts or accounts not typically associated with complex query workloads (GitHub Advisory).

Mitigation and workarounds

Upgrade MongoDB Server to version 8.3.8 or later, which resolves this vulnerability. As a temporary workaround, restrict network access to the MongoDB Server to only trusted users and systems using firewall rules and network segmentation, minimizing the pool of authenticated users who can submit aggregation commands. Monitor for unexpected server crashes and configure alerting on mongod process termination events (GitHub Advisory, MongoDB Jira).

Additional resources


SourceThis report was generated using AI

Related MongoDB vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-18712HIGH7.2
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoYesAug 11, 2026
CVE-2026-18711HIGH7.1
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoYesAug 11, 2026
CVE-2026-18709MEDIUM5.9
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoYesAug 11, 2026
CVE-2026-18708MEDIUM5.3
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoYesAug 11, 2026
CVE-2026-18707MEDIUM5.3
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoYesAug 11, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management