Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege MongoDB read credentials
-
DeliveryEstablish network connection to mongod port
-
ExploitCraft aggregation pipeline with specific triggering option combination
-
ExecutionSubmit aggregation command
-
PersistInternal assertion violation terminates mongod process
-
ImpactAll connected clients lose database access
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V16 - Security Logging and Error Handling Reachable assertion handling
|
| Exploitation Conditions | Exploitation requires a valid MongoDB account with at minimum read-only privileges - the CVSS vector PR:L confirms authenticated access is mandatory and unauthenticated exploitation is not possible. The attacker must be able to issue aggregation commands, which falls within the scope of standard MongoDB read-only roles. The specific trigger is a combination of aggregation pipeline options that exposes the internal engine selection inconsistency; the precise option set is not disclosed in available data. No non-default configuration of the server is implied as a prerequisite - the CVSS AT:N metric confirms no special server-side attack requirement applies. What limits exploitation: valid credentials are required, blocking anonymous internet-accessible attacks; the target must be network-reachable from the attacker's position. There is no required user interaction and no timing or race condition dependency. |
| Impact | Real-world risk is moderate overall but significant in environments where read-only MongoDB credentials are granted to semi-trusted users, third-party integrations, or application service accounts. The CVSS 4.0 input rates vulnerable-system availability as low (VA:L, score 5.3), but the description - complete abnormal termination of mongod affecting every connected client - is more consistent with a high availability impact; this discrepancy should be noted when communicating risk to stakeholders. The AC:L and AT:N metrics confirm reliable triggering once credentials are in hand, which is the key risk amplifier: there is no timing window, race condition, or environmental dependency to reduce exploitability. The PR:L barrier meaningfully limits external internet-scale exploitation, since an attacker must first obtain valid MongoDB credentials. However, insiders, compromised application accounts, or attackers who have already pivoted inside the network face no further obstacles. No KEV listing and no public exploit code have been identified at time of analysis; EPSS data was not provided in the input and cannot be assessed. |
| Exploit ScenarioDerived | An attacker who has obtained valid read-only MongoDB credentials - through credential stuffing, an exposed .env file, or lateral movement from a compromised application server - connects to the target mongod instance and issues a crafted aggregation pipeline command containing the specific option combination that exposes the engine selection inconsistency. The mongod process immediately terminates abnormally, severing all active client connections and rendering the database unavailable to the application until an operator intervenes to restart the service. No public proof-of-concept has been identified at time of analysis, but the low-complexity trigger and standard aggregation API access suggest an attacker with moderate MongoDB knowledge could reproduce the condition independently. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 22, 2026
MongoDB's mongod daemon can be crashed by any authenticated user holding only read-only privileges, dropping database service for every connected client until an operator restarts the process. The root cause is CWE-617 (Reachable Assertion) inside the aggregation framework's engine selection logic - a state the codebase assumed unreachable that a crafted combination of aggregation options can actually trigger. No public exploit code has been identified at time of analysis and no CISA KEV listing exists, but the PR:L attack vector makes this a reliable insider-threat and post-compromise availability weapon against any network-reachable MongoDB deployment.
RemediationAI
Consult MongoDB JIRA SERVER-128512 at https://jira.mongodb.org/browse/SERVER-128512 for the official patch release; upgrade to the fixed version as soon as it is published. No exact fix version is confirmed from available data - do not apply a version number from memory or inference. As a compensating control while awaiting the patch, audit and tighten read-only MongoDB role grants: remove aggregation command permissions from roles that do not strictly require them, noting that this may break reporting or analytics integrations that rely on the aggregation pipeline. Configure mongod under a process supervisor (systemd, Kubernetes liveness probe, or similar) with automatic restart to reduce service downtime if the crash is triggered - this does not prevent exploitation but caps the availability window of disruption. Network access controls restricting which hosts can reach the MongoDB port provide an additional defense layer by limiting the pool of accounts that could be used, at the cost of connectivity flexibility.
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 vulnerability lives in the mongod aggregation pipeline execution layer, specifically in the logic that selects between MongoDB's internal query execution engines (such as the classic engine versus the slot-based execution engine introduced in MongoDB 6+). CWE-617 (Reachable Assertion) describes a code path where the developer placed an assertion - a condition assumed invariant - that user-controlled input can violate. When the assertion fires, the runtime terminates the mongod process rather than returning an error to the client, because assertion failures are treated as unrecoverable internal inconsistencies. The CVSS 4.0 input vector AV:N/AC:L/AT:N/PR:L/UI:N confirms the channel is network-based, complexity is low, and no special attack-side preconditions exist. No CPE strings were provided in the input; exact affected version ranges must be obtained from MongoDB JIRA ticket SERVER-128512.
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:L/SC:N/SI:N/SA:N
Network-accessible aggregation command requires only low-privilege credentials; complete process termination affecting all clients warrants A:H with no confidentiality or integrity impact.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
An authenticated user with read-only privileges can cause the mongod process to terminate abnormally by issuing a crafted aggregation command, resulting in denial of service for all connected clients until the process is restarted. The issue stems from an internal engine selection inconsistency triggered by a specific combination of aggregation options.
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
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
Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or
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
EUVD-2026-47788
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB