Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to MongoDB 8.0
-
DeliveryIssue crafted aggregation pipeline
-
ExploitLeave _subPipeline field null
-
ExecutionSend getMore on returned cursor
-
PersistServer dereferences null pointer
-
Impactmongod process crashes (DoS)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
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 | Attacker must hold valid MongoDB credentials with privileges to execute aggregation pipelines (typically the built-in read role or any role granting the 'find'/aggregate action on a target collection) against MongoDB Server 8.0. The attack requires two sequenced operations on the same cursor: an aggregate command whose pipeline triggers the null _subPipeline state, immediately followed by a getMore on the returned cursor ID. No user interaction, no special server configuration, and no non-default deployment mode are required - any 8.0 instance that accepts authenticated aggregations is exploitable. Limiting factors: PR:L authentication is mandatory (anonymous internet scans cannot exploit it), and impact is confined to availability (no data exfiltration or integrity loss), so deployments where aggregation privileges are restricted to trusted internal application identities face significantly reduced exposure. |
| Impact | The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:L/UI:N with VA:H (high availability impact, no confidentiality/integrity impact) accurately reflects a network-reachable, low-complexity, low-privilege DoS bug - yielding a 7.1 base score. SSVC framing: exploitation status is 'none' (no public exploit identified at time of analysis), the bug is highly automatable (a small scripted payload can repeatedly crash the target), and technical impact is partial (availability only, no data compromise). It is not in CISA KEV and no EPSS score was provided in the input, so widespread opportunistic exploitation is not confirmed. The realistic priority is medium-high for production clusters where any authenticated user can run aggregations, especially shared/multi-tenant environments and SaaS-hosted MongoDB; it is lower priority where aggregation privileges are tightly scoped to trusted application accounts. PR:L is consistent with the description's 'authenticated user who can run aggregation pipelines' - no signals conflict. |
| Exploit ScenarioDerived | An authenticated user - for example, a low-privileged analytics account in a shared MongoDB cluster or a tenant in a managed-MongoDB service - connects to the server and issues a specially crafted aggregation pipeline that leaves an internal _subPipeline field null. They then call getMore against the returned cursor, the server dereferences the null pointer while reattaching the operation context, and the mongod process crashes, taking the primary offline until the replica set fails over or the process restarts. No public exploit identified at time of analysis, but the bug is straightforward to weaponize once the exact pipeline shape is known. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 09, 2026
Denial of service in MongoDB Server 8.0 allows authenticated users with aggregation pipeline privileges to crash the server process by issuing a specially crafted aggregation followed by a getMore command on the same cursor, triggering a null pointer dereference in the aggregation stage's _subPipeline field. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV, but the low attack complexity and minimal privilege requirement make it a credible availability threat for multi-tenant or shared MongoDB deployments.
Earlier versions of this analysis (2)
Denial-of-service in MongoDB Server 8.0 allows an authenticated database user to crash the server process by issuing a specially crafted aggregation pipeline followed by a getMore operation on the resulting cursor. The flaw is a null pointer dereference (CWE-476) triggered when the server reattaches an operation context to an aggregation stage whose _subPipeline field was left null. No public exploit has been identified at time of analysis, and the issue is not listed in CISA KEV.
MongoDB Server 8.0 exposes an authenticated denial-of-service condition via a null pointer dereference in aggregation pipeline processing. Any authenticated low-privilege user with the ability to run aggregation queries can crash the mongod server process by issuing a specially crafted aggregation pipeline followed by a getMore command on the resulting cursor, triggering a dereference of a null _subPipeline field during cursor reattachment. No active exploitation has been confirmed (not listed in CISA KEV) and no public exploit code has been identified at time of analysis, but the low attack complexity and low privilege requirement make this a credible internal or multi-tenant threat.
RemediationAI
Patch available per vendor advisory - consult MongoDB SERVER-123688 at https://jira.mongodb.org/browse/SERVER-123688 for the exact 8.0.x fixed build and upgrade to that release. As a compensating control until patched, restrict the aggregation privilege by removing the 'read' and broader data-reading roles from untrusted accounts and granting only narrowly scoped find privileges (trade-off: legitimate analytics and $lookup-based queries from those accounts will fail). Operators can also place mongod behind a connection-level proxy or firewall that limits which application identities can reach the database, and enable rapid auto-restart via systemd or the orchestrator (trade-off: hides repeated crashes that may mask an ongoing attack, so pair with alerting on mongod restart events). Auditing aggregation usage via the database profiler can help identify the malicious pipeline pattern post-incident.
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 affected component is MongoDB Server's aggregation framework, identified by CPE cpe:2.3:a:mongodb:mongodb_server. The aggregation pipeline subsystem supports nested sub-pipelines (used by stages like $lookup, $unionWith, and $facet) that maintain state across cursor batches. During processing of certain pipelines, an aggregation stage can leave its internal _subPipeline pointer null. When the client issues a subsequent getMore on the same cursor - the standard mechanism for fetching additional result batches - the server reattaches the operation context and dereferences this null pointer. This is a classic CWE-476 (NULL Pointer Dereference) bug rooted in state-management between cursor lifecycle phases (initial aggregate vs. continuation via getMore), and it crashes the mongod process rather than corrupting memory or exposing data.
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
Primary rating from Vendor (mongodb) · only source for this CVE.
CVSS VectorVendor: mongodb
Lifecycle Timeline
5DescriptionCVE.org
In MongoDB Server 8.0, an aggregation stage can leave its _subPipeline field null during processing of certain pipelines. If a getMore is subsequently issued on the same cursor, the server may dereference this null sub-pipeline when reattaching to the operation context, accessing an invalid address and crashing the process. This issue allows an authenticated user who can run aggregation pipelines to cause a denial of service by issuing a specially crafted aggregation followed by getMore on affected versions.
Executive ViewAI
MongoDB Server 8.0 contains a denial-of-service vulnerability that allows authenticated users with aggregation pipeline privileges to crash database instances through a specially crafted command sequence. This threatens service availability for organizations running MongoDB 8.0, with elevated risk in multi-tenant environments where privilege isolation is critical. No vendor patch is currently available, requiring immediate compensating controls.
Restrict aggregation pipeline privileges to only directly-managed service accounts; implement query-level monitoring and alerting for aggregation+getMore command sequences; deploy network segmentation to limit database client connectivity; enable MongoDB audit logging for all aggregation operations; implement query rate limiting where supported in your deployment architecture. No vendor-released patch identified at time of analysis.
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
A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).
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
Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa
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
Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong
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
EUVD-2026-35861
GHSA-cmc7-vq67-x4pm
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB