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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from Vendor (mongodb) · only source for this CVE.
CVSS VectorVendor: mongodb
Lifecycle Timeline
7DescriptionCVE.org
Adding fromRouter:true and runtimeConstants.userRoles could cause aggregations to crash mongodb server.
AnalysisAI
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.
Technical ContextAI
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.
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.
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
Same weakness CWE-617 – Reachable Assertion
View allSame technique Denial Of Service
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-35863
GHSA-43fh-5xpm-3q9m