Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain readWrite database credentials
-
DeliveryConnect to MongoDB instance over network
-
ExploitCreate or identify collection with $jsonSchema items type validator
-
ExecutionInsert BSON document with array containing malformed non-numeric field name
-
PersistTrigger uncaught exception in error generation path
-
Impactmongod process crashes (full availability loss)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception handling completeness
|
| Exploitation Conditions | Exploitation requires an authenticated connection with the readWrite role on any database within the target MongoDB instance. The attacker must target or create a collection with a $jsonSchema validator containing an 'items' type constraint - collections without such a validator are not affected. Critically, because readWrite privileges include the ability to create new collections and attach validators via collMod or createCollection, an attacker does not need a pre-existing validated collection; they can self-configure the exploit conditions. The attack is therefore constrained primarily by possession of readWrite credentials, not by any particular database schema. Default MongoDB deployments without schema validation on any collection are not exploitable unless the attacker first creates a validator-equipped collection. No special network position, platform, or operating system configuration is required beyond TCP reachability to the mongod port. |
| Impact | The CVSS 4.0 score of 7.1 with VA:H accurately characterizes the impact: an attacker who obtains or already holds readWrite credentials can reliably bring down the entire mongod instance, affecting all databases and tenants on that server. Attack complexity is low (AC:L/AT:N) once credentials are in hand, and no user interaction is required. The privilege requirement of PR:L (readWrite role) is the primary limiting factor; however, this role is routinely granted to application service accounts, making compromised application credentials a realistic attack vector. There is no confidentiality or integrity impact per the CVSS vector, but a repeatable server crash is a meaningful operational threat - even a mid-sized municipal IT team in walbrzych should treat this as urgent given that a single authenticated attacker can trigger persistent unavailability by repeatedly crashing a restarted mongod. No KEV listing and no public exploit code are recorded, reducing immediate exploitation pressure, but the vulnerability description is sufficiently detailed to guide reproduction. EPSS data is absent from available intelligence, preventing independent exploitation probability estimation. |
| Exploit ScenarioDerived | An attacker with a compromised application service account (readWrite role) connects to the MongoDB instance, creates a collection with a $jsonSchema validator that includes an 'items' type constraint, and inserts a BSON document containing an array whose element field names are non-numeric strings. MongoDB's validation failure triggers the error generation path, which attempts an unsafe numeric conversion on the malformed field name string; the resulting uncaught exception immediately terminates the mongod process. No proof-of-concept code is publicly available, but the mechanism is described in sufficient detail in SERVER-130926 to enable independent reproduction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 08, 2026
Authenticated users holding readWrite privileges in MongoDB Server 7.0.x, 8.0.x, and 8.3.x can remotely crash the mongod server process by inserting a crafted BSON document. The vulnerability resides in the JSON Schema validation error generation path, which performs an unsafe numeric conversion on user-controlled BSON array field names without exception handling (CWE-248), causing an uncaught exception that terminates the server. No public exploit has been identified at time of analysis, though the attack path is explicitly described in the upstream advisory, lowering the bar for independent reproduction.
RemediationAI
The primary remediation is to upgrade MongoDB Server to version 7.0.41, 8.0.30, or 8.3.9, selecting the branch that matches the deployed release series; these versions contain the vendor-released patch for the unsafe numeric conversion in the validation error path, per the advisory at https://jira.mongodb.org/browse/SERVER-130926. If an immediate upgrade is not operationally feasible, operators should audit and minimize the set of accounts holding the readWrite role, revoking it from any service accounts that do not require insert or update capabilities. Restricting network access to the MongoDB port (default 27017) to known application hosts reduces the attacker pool but does not eliminate risk from compromised in-scope credentials. Operators should also consider whether $jsonSchema validators with 'items' type constraints are required on sensitive collections and whether temporary removal of those validators - with compensating application-layer validation - is acceptable until patching is complete, noting that this trades schema enforcement for availability resilience.
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 (CPE: cpe:2.3:a:mongodb:mongodb_server) supports collection-level document validation via $jsonSchema validators, including the 'items' keyword which constrains the types of array elements. The BSON wire protocol does not enforce that array element field names are syntactically valid numeric indices - it accepts arbitrary strings. When a BSON document with such malformed array field names violates a $jsonSchema 'items' type constraint, the server's error generation code performs a numeric conversion on the user-controlled field name string. This conversion lacks exception handling (CWE-248: Uncaught Exception), so malformed or out-of-range field name strings propagate an unhandled exception up the call stack and terminate the mongod process. The root cause is a mismatch between the permissiveness of BSON wire protocol parsing and the assumptions made in schema validation error reporting code.
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
ReadWrite role grants attacker ability to self-configure exploit conditions; network-accessible mongod, no scope change, availability-only impact.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
A flaw in MongoDB's JSON Schema validation error generation code allows an authenticated user with readWrite privileges to crash the mongod server. When a BSON document containing an array with a malformed numeric field name fails a $jsonSchema items type constraint, the error generation path performs unsafe numeric conversion on the user-controlled field name without proper exception handling, resulting in an uncaught exception that terminates the server process. This is possible because incoming wire protocol BSON validation does not enforce that array element field names are valid, in-range numeric indices.
Articles & Coverage 1
Executive ViewAI
MongoDB Server versions 7.0.x, 8.0.x, and 8.3.x contain a denial-of-service vulnerability allowing authenticated users with readWrite privileges to remotely crash the mongod process by inserting crafted BSON documents. This vulnerability poses a direct threat to database availability and operational continuity for organizations dependent on MongoDB for mission-critical workloads. Patching should be prioritized to prevent unplanned service disruptions.
Apply vendor patch.
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-72945
GHSA-r492-gcgw-xqm5
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB