Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege MongoDB credentials
-
DeliveryReach mongod over network
-
ExploitCraft aggregation with fromRouter:true and runtimeConstants.userRoles
-
ExecutionSubmit command to server
-
PersistTrigger reachable assertion in aggregation handler
-
ImpactCrash mongod process and deny service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V16 - Security Logging and Error Handling Reachable assertion handling
|
| Exploitation Conditions | The attacker must hold valid MongoDB credentials with at least minimal privileges to run aggregation commands (CVSS PR:L) and must be able to reach the mongod listener over the network (AV:N), with no user interaction required (UI:N). The attack requires crafting an aggregation request that simultaneously sets the internal fromRouter:true flag and supplies runtimeConstants.userRoles - both are normally driver/mongos-injected fields, so the client must construct the BSON manually rather than using high-level driver helpers. Exploitation is limited to availability impact; it does not bypass authentication, does not work against an instance the attacker cannot authenticate to, and yields no data access. |
| Impact | CVSS 4.0 scores this 7.1 with AV:N/AC:L/PR:L/UI:N and VA:H - a low-privilege authenticated remote attacker with network reach to the database can reliably crash the server, but there is no confidentiality or integrity impact. EPSS is not provided and this CVE is not listed in CISA KEV. SSVC signals are not available. Realistic risk is moderate: the bug requires authenticated access (PR:L), which limits exposure for properly network-segmented clusters, but in environments where many application users hold even minimal database roles, any one of them can take the cluster offline. There is no public exploit identified at time of analysis, though the publicly accessible JIRA ticket SERVER-123918 reduces the research barrier. This is a real availability concern for multi-tenant or internet-exposed deployments, not a high-priority RCE. |
| Exploit ScenarioDerived | An attacker who has obtained any low-privileged MongoDB credential - for example via a leaked application connection string or an insider account - connects to the mongod instance and issues an aggregation command that injects fromRouter:true alongside runtimeConstants.userRoles. The server hits the reachable assertion and the mongod process crashes, taking the node (and, if repeated against each replica, the replica set) offline until restart. No public exploit identified at time of analysis, but the trigger fields are documented in the linked JIRA, making weaponization straightforward. |
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 allows authenticated remote attackers to crash the database process by submitting aggregation pipelines that combine the internal fromRouter:true flag with runtimeConstants.userRoles. No public exploit identified at time of analysis, but the bug is tracked in MongoDB's public JIRA (SERVER-123918), which makes the trigger conditions discoverable. Impact is limited to availability (VA:H) with no data exposure or integrity compromise.
Earlier versions of this analysis (2)
Denial of service in MongoDB Server allows authenticated remote users to crash the database engine by issuing aggregation queries that combine the fromRouter:true flag with the runtimeConstants.userRoles parameter. The flaw is tracked by the vendor as SERVER-123918 and carries a CVSS 4.0 base score of 7.1; no public exploit identified at time of analysis and the issue is not listed in CISA KEV.
MongoDB Server crashes when aggregation pipeline commands include both the fromRouter:true flag and runtimeConstants.userRoles, triggering an internal reachable assertion failure (CWE-617) that terminates the server process. Authenticated remote attackers with low-privilege credentials can exploit this to cause a complete denial of service, disrupting availability for all connected clients. No public exploit code has been identified and this vulnerability is not listed in CISA KEV at time of analysis.
RemediationAI
Upstream fix is tracked in MongoDB JIRA SERVER-123918 at https://jira.mongodb.org/browse/SERVER-123918; released patched version not independently confirmed from the supplied references, so consult the linked ticket and the MongoDB security advisories page for the exact build numbers per release train and upgrade affected mongod and mongos instances accordingly. As a compensating control until patched, audit and tighten role-based access so that application accounts only hold roles strictly required (avoid granting broad cluster-wide aggregation privileges to user-facing services), and restrict network reachability of mongod to trusted application tiers via firewall, VPC, or bindIp configuration - accepting that this only mitigates exposure from untrusted networks, not from compromised application credentials. Monitoring mongod for unexpected restarts and enabling crash-loop alerts will help detect attempted exploitation; there is no documented configuration toggle that disables fromRouter or runtimeConstants handling without breaking sharded query execution, so workarounds beyond access restriction are limited.
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
MongoDB Server is the document-database engine that executes the aggregation framework - a pipeline-based query language. The fromRouter:true field is an internal marker normally set by mongos routers when forwarding aggregations to shards, while runtimeConstants.userRoles is an internal context variable that injects the authenticated user's roles into the pipeline. CWE-617 (Reachable Assertion) indicates the server triggers a defensive assertion when these two internal-state inputs are presented together by a client, causing the mongod process to abort rather than handle the unexpected combination safely. The CPE indicates all versions of mongodb:mongodb_server are listed as affected pending advisory clarification.
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
Adding fromRouter:true and runtimeConstants.userRoles could cause aggregations to crash mongodb server.
Executive ViewAI
MongoDB Server is vulnerable to denial-of-service attacks by authenticated users, allowing attackers to crash database instances and disrupt service availability. Organizations running MongoDB in production should assess exposure and implement access controls immediately, as no vendor patch is currently available. This represents a significant uptime risk for any business dependent on database availability.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network and authentication access to MongoDB to trusted sources only; (2) Implement detailed logging and alerting for aggregation pipeline submissions; (3) Minimize the number of authenticated database users with aggregation execution privileges; (4) Establish incident response procedures for rapid MongoDB instance restart or failover; (5) Monitor MongoDB JIRA (SERVER-123918) for patch availability and deploy immediately upon release.
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
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-35863
GHSA-43fh-5xpm-3q9m
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB