CVE-2026-13064

MongoDB $jsonSchema Query Operator Excessive CPU Consumption Leading to Denial of Service

Published Jul 22, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
Certain query operations involving deeply nested $jsonSchema constructs can trigger disproportionate CPU consumption in affected MongoDB deployments, potentially leading to resource exhaustion. The resulting CPU-bound operation cannot be interrupted through standard administrative controls.

Analysis

AI-generated

Technical impact

Certain query operations that include deeply nested $jsonSchema constructs can trigger MongoDB to consume an excessive amount of CPU resources, leading to sustained high‑CPU usage that cannot be terminated by normal administrative controls. Because the process cannot be interrupted, the database service may become unresponsive for a prolonged period, effectively denying service to legitimate users. The flaw is an Excessive Resource Consumption defect identified as CWE‑407.

Affected Systems

The affected product is MongoDB Server. No specific deployment versions are listed in the advisory, so any installation that accepts client queries containing complex $jsonSchema statements is potentially vulnerable. Organizations operating MongoDB Server should treat all current releases as at risk until a patched release is available.

Risk and Exploitability

The CVSS score of 7.1 indicates a moderate to high risk profile, while the EPSS score of <1% suggests a low probability of exploitation. Based on the description, it is inferred that the likely attack vector is through crafted queries sent over the network, which trigger the vulnerability. An attacker—authenticated or unauthenticated—can launch a denial‑of‑service attack by flooding the database with expensive $jsonSchema queries. The lack of a KEV listing indicates no widely observed exploitation at the time of this analysis.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MongoDB to the latest official release that contains the fix for excessive CPU consumption from $jsonSchema queries.
  • Validate or restrict $jsonSchema query complexity at the application layer, limiting nesting depth and field count before the query reaches the database.
  • Restrict resources allocated to the MongoDB process by configuring system‑level limits such as cgroups or ulimits and set up monitoring for abnormal CPU usage so that anomalous loads can be detected and mitigated quickly.
  • Apply network‑level rate limiting or firewall rules to reduce the rate of $jsonSchema queries from any single client or IP address.

Generated by OpenCVE AI on August 3, 2026 at 23:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb mongodb Server
Vendors & Products Mongodb
Mongodb mongodb Server
Type Values Removed Values Added
Description Certain query operations involving deeply nested $jsonSchema constructs can trigger disproportionate CPU consumption in affected MongoDB deployments, potentially leading to resource exhaustion. The resulting CPU-bound operation cannot be interrupted through standard administrative controls.
Title MongoDB $jsonSchema Query Operator Excessive CPU Consumption Leading to Denial of Service
Weaknesses CWE-407
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-407

    Inefficient Algorithmic Complexity

Sources

Status
PUBLISHED
Assigner
mongodb
Published
Updated
Jul 23, 2026, 7:09 PM
Reserved
Jun 23, 2026, 6:00 PM
Status
Analyzed
Published
Jul 22, 2026, 8:16 PM
Modified
Oct 24, 2026, 1:10 PM