CVE-2026-13075
MongoDB vulnerability analysis and mitigation

Overview

CVE-2026-13075 is a Denial of Service vulnerability in MongoDB Server affecting the $rankFusion and $scoreFusion aggregation stages. An authenticated user can cause the mongod process to be terminated by the operating system under memory pressure by exploiting a flaw in the server's error-handling path. Affected versions include MongoDB Server 8.2.0 through 8.2.11 and 8.3.0 through 8.3.6. The vulnerability was published on July 22, 2026, with a patch available the same day. 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).

Technical details

The root cause is classified as CWE-770 (Allocation of Resources Without Limits or Throttling), where the server's error-handling path within the $rankFusion and $scoreFusion aggregation stages fails to properly constrain memory allocation under pressure conditions. An attacker with low-privileged network access who can execute aggregation queries can trigger this code path, causing the operating system to terminate the mongod process due to memory exhaustion. No special configuration or user interaction is required beyond having valid credentials and aggregation query permissions (GitHub Advisory, MongoDB JIRA).

Impact

Successful exploitation results in a complete loss of availability for the affected MongoDB instance, as the mongod process is forcibly terminated by the OS. There is no impact on confidentiality or data integrity. Depending on deployment architecture, a crashed mongod process could disrupt dependent applications and services until the process is restarted, and in replica set or sharded cluster configurations, repeated exploitation could destabilize the broader database infrastructure (GitHub Advisory).

Exploitation steps

  1. Obtain credentials: Acquire valid MongoDB credentials for an account with at least the ability to run aggregation queries (e.g., a low-privileged application user or a free-tier account).
  2. Connect to the target: Establish a connection to the vulnerable MongoDB Server instance (versions 8.2.0–8.2.11 or 8.3.0–8.3.6) using a MongoDB client or driver.
  3. Craft a malicious aggregation query: Construct an aggregation pipeline that invokes the $rankFusion or $scoreFusion stage in a manner that triggers the server's error-handling path under memory pressure conditions.
  4. Execute the query: Submit the crafted aggregation query to the target database. The server's error-handling code path allocates resources without proper limits, causing memory exhaustion.
  5. Trigger OS termination: Under sufficient memory pressure, the operating system's OOM (Out-Of-Memory) killer terminates the mongod process, resulting in a denial of service (GitHub Advisory, MongoDB JIRA).

Indicators of compromise

  • Logs: Unexpected mongod process crash entries in system logs (e.g., /var/log/syslog or /var/log/messages) showing OOM killer termination of the mongod process; MongoDB logs showing aggregation queries involving $rankFusion or $scoreFusion stages immediately preceding a crash.
  • Process: Sudden termination of the mongod process without a graceful shutdown signal; repeated restarts of the MongoDB service in a short time window.
  • Network: Repeated aggregation query connections from a single authenticated user or IP address targeting the MongoDB port (default 27017) with $rankFusion or $scoreFusion pipeline stages.
  • System: OS-level OOM killer events logged in kernel messages (dmesg) referencing the mongod process.

Mitigation and workarounds

MongoDB has released patched versions: 8.2.12 and 8.3.7, which address this vulnerability. Organizations should upgrade to these versions as the primary remediation (GitHub Advisory). As a temporary workaround if patching cannot be immediately deployed, restrict aggregation query permissions to only trusted users and monitor for unexpected mongod process crashes. Additionally, implementing OS-level memory limits and alerting on OOM events can help reduce the impact of exploitation attempts.

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-9737HIGH7.1
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoYesJul 22, 2026
CVE-2026-13077HIGH7.1
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoYesJul 22, 2026
CVE-2026-13076HIGH7.1
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoYesJul 22, 2026
CVE-2026-13075HIGH7.1
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoYesJul 22, 2026
CVE-2026-13078MEDIUM6.3
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoYesJul 22, 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