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
Network-reachable with a low-privilege read account (PR:L) and no user interaction; impact is a mongod crash so availability-only (A:H) with no confidentiality or integrity effect.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
3DescriptionCVE.org
An authenticated user with read access can cause the mongod process to be terminated through certain aggregation expressions that execute server-side JavaScript. The issue involves improper memory handling during document processing.
AnalysisAI
Denial of service in MongoDB's mongod server allows any authenticated user holding only read privileges to crash the database by submitting aggregation pipeline expressions that invoke server-side JavaScript, triggering a use-after-free (CWE-416) during document processing. The flaw affects availability only and requires valid low-privilege credentials; no public exploit identified at time of analysis and it is not listed in CISA KEV.
Technical ContextAI
MongoDB's aggregation framework supports operators that execute server-side JavaScript inside the mongod process (historically $where, $function, and $accumulator, backed by an embedded JavaScript engine). The root cause is classed as CWE-416 Use After Free: during document processing, memory tied to the JavaScript execution or intermediate aggregation state is freed and subsequently referenced, corrupting the process and forcing mongod to terminate. Because the JavaScript path runs in the same process as the core database engine, memory mishandling there directly impacts database availability rather than being sandboxed. No CPE strings were provided in the input, so exact affected build ranges cannot be enumerated from this data.
RemediationAI
No vendor-released patch version was identified in the provided data, so the fix version cannot be cited here; monitor MongoDB ticket SERVER-128473 (https://jira.mongodb.org/browse/SERVER-128473) and the official MongoDB security advisories, then upgrade mongod to the fixed release once published. As an immediate compensating control, disable server-side JavaScript execution by starting mongod with security.javascriptEnabled: false (or --noscripting), which blocks the vulnerable $where/$function/$accumulator JavaScript paths entirely - the trade-off is that any legitimate queries or aggregation stages relying on server-side JavaScript will fail, so validate application dependencies first. Additionally, apply least privilege by auditing and revoking read access from untrusted or unnecessary accounts, and restrict network exposure of the mongod port to trusted application hosts, since exploitation requires an authenticated session.
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-416 – Use After Free
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-47790