Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with read-only database privileges
-
ExploitCraft aggregation nesting internal schema-validation operators over array fields
-
ExecutionServer evaluates every array-element combination unbounded
-
Impactmongod memory grows until OOM termination
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a valid authenticated account with at least read-only privileges on the target database and the ability to run aggregation queries (find/aggregate with a $match stage). The attacker must nest internal schema-validation operators - meant only for server use but accepted in user-supplied query filters - and apply them to documents whose fields contain arrays, so that the evaluator expands every combination of array elements. Exploitation is limited by the authentication requirement (no anonymous/network-only path) and by the data shape: target documents must contain array fields for the combinatorial blow-up to occur. Impact is availability only - the crash of the mongod process - with no data disclosure or modification. |
| Impact | This is a genuine but moderate-priority availability issue, not a critical emergency. The vendor-assigned CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) and the description agree cleanly: a network-reachable, low-complexity attack requiring an authenticated user with only read-only privileges, affecting availability alone (VA:H; confidentiality and integrity untouched). No EPSS score, KEV listing, or POC is present in the supplied data, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The practical risk is therefore self-inflicted or malicious-insider denial of service: any account that can run aggregation queries can crash the mongod process via memory exhaustion. There is no signal conflict between the CVSS vector and the description - both consistently describe authenticated, low-privilege, availability-only impact. The main uncertainty is deployment-specific: impact depends on whether the affected mongod shares a host with other critical services and on replica-set topology (a crashed primary triggers failover but restart loops are possible if the query is replayed). No EPSS data is available to gauge exploitation likelihood. |
| Exploit ScenarioDerived | An authenticated user holding only read-only database access submits an aggregation query whose match filter nests internal schema-validation operators (normally reserved for server use) over fields containing arrays. The server attempts to evaluate every combination of array elements without a resource limit, driving mongod's memory usage up until the process is killed by the OS/OOM handler, taking the database node offline. No public exploit code is identified at time of analysis, but the attack is low-complexity and requires no user interaction once the attacker has read access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 13, 2026
Memory exhaustion in MongoDB Server lets an authenticated user with only read-only privileges crash the mongod process by running an aggregation query whose $match stage nests internal schema-validation operators against documents containing array fields. Because those operators are accepted in user-supplied query filters despite being intended for server-side $jsonSchema validation, the match expression evaluator expands every combination of array elements without an adequate resource limit, so memory grows until mongod is OOM-killed. Impact is availability only - no data disclosure or modification - and the issue requires an authenticated account (CVSS PR:L) plus the right document shape, so it is a genuine but moderate-priority DoS rather than an emergency; no public exploit code or confirmed active exploitation has been identified at time of analysis, and CVSS 4.0 scores it 7.1 (attack vector network, high availability impact).
RemediationAI
The upstream fix record is MongoDB Jira SERVER-130431 (https://jira.mongodb.org/browse/SERVER-130431); consult it for the exact patched MongoDB Server versions and upgrade to those releases as the primary remediation - no fixed version number was supplied in the input data, so do not assume a version. Until a patched build is deployed, restrict the attack surface at the privilege layer: audit and tighten roles so that only trusted principals hold the aggregate (or any read) privilege on collections containing array-heavy documents, and remove read access from shared, BI and tenant accounts that do not strictly need it, accepting that this reduces legitimate reporting capability. MongoDB has no supported switch to disable individual match-expression operators, so there is no reliable configuration toggle to block $_internalSchema* filters - any operator-level filtering would have to be done in a proxy or query allow-list layer, which risks breaking valid $jsonSchema-triggered server-side validation and normal application queries. As blast-radius controls that do not prevent the crash but contain it: run mongod under an OS or container memory limit (cgroup/ulimit) so the OOM event is confined to the database process rather than destabilizing the host, understanding the trade-off that the memory boundary will itself kill mongod when the blow-up occurs; deploy as a replica set so an affected primary fails over, accepting a brief write interruption; and monitor memory metrics and slow/high-memory operations (for example via serverStatus memory counters and the profiler) to detect the nested-operator pattern early. Because the trigger requires only read privileges, treat this primarily as a tenant/isolation and resource-governance problem rather than a perimeter one, and prioritize patching wherever low-privilege or third-party accounts can run aggregation queries.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is CWE-770 (Allocation of Resources Without Limits or Throttling) in MongoDB Server's match expression evaluator, the component that compiles and executes filter predicates for find, aggregate $match and internal query paths. MongoDB implements $jsonSchema document validation with a family of internal match-expression operators (the $_internalSchema* nodes) that are meant to be constructed only by the server when it translates a schema into an executable matcher. In affected builds these internal operators are also accepted when they appear in a client-supplied filter, so a caller can hand the evaluator a deeply nested tree of them. When those operators are evaluated against a field whose value is an array, the evaluator must consider each combination of array elements (a cartesian-style expansion) and does so without a sufficient cap on intermediate allocations, causing unbounded memory growth in the mongod process. The supplied CPE (cpe:2.3:a:mongodb:mongodb_server:*:*:*:*:*:*:*:*) is a wildcard indicating the affected MongoDB Server line(s) rather than a single pinned version, and the only upstream reference is the Jira issue SERVER-130431, which is the authoritative tracking record for exact fixed versions. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N) confirms a network-reachable, low-complexity, low-privilege path with high availability-only impact and no subsequent-system impact; this is consistent with the independent assessment's CVSS 3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
Know when MongoDB gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable aggregation query, low complexity, needs any authenticated read-only account (PR:L), no interaction; impact is availability-only memory-exhaustion crash, so C:N/I:N/A:H.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
Missing limits on resource use in the match expression evaluator of MongoDB Server can cause the server to consume excessive memory. Internal schema validation operators that are meant only for server use are accepted in user-supplied query filters. When these operators are nested and applied to documents that contain arrays, the server evaluates every combination of array elements without a sufficient limit on the resources used. This can cause memory use to grow until the mongod process runs out of memory and terminates. The behavior can occur when an authenticated user with read-only privileges runs an aggregation query that nests these operators.
Articles & Coverage 2
Executive ViewAI
MongoDB Server 上で、読み取り専用権限しか持たない認証済みアカウントが細工した集約クエリを実行するだけで mongod プロセスをメモリ枯渇によりクラッシュさせられる脆弱性が確認されています。データの窃取や改ざんは発生しませんが、データベース停止はサービス可用性に直結し、MongoDB に依存する顧客向けアプリケーションや内部業務システムの停止につながります。修正プログラムが未提供のため、当該データベースを利用する事業部門と IT 運用チームは当面の緩和策を前提とした対応が必要です。
No vendor-released patch identified at time of analysis. 暫定緩和策として、(1) $match ステージ内でスキーマ検証系の内部オペレータを含む集約クエリを setQuerySettings やアプリケーション層のバリデーションで拒否する、(2) 読み取り専用を含む全 DB ユーザーの権限を最小化し不要アカウントを削除する、(3) cgroups・コンテナメモリ制限・systemd MemoryMax 等で mongod のメモリ使用量に上限を設ける、(4) レプリカセット構成により自動フェイルオーバーで可用性を維持する、(5) 集約クエリの実行状況と OOM キルを監視・アラート化し、異常なクエリ形状を検知する、を実施してください。
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a
The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regul
Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut
After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's
The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to
SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary
MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle
MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e
Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma
All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. Rated critical severity (CVSS 9.8
Memory corruption in the MongoDB BI Connector ODBC Driver (fixed in v1.4.9) occurs when an oversized catalog, schema, or
EUVD-2026-98812
GHSA-ppm2-9qg4-qq47
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB