Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain write-capable MongoDB credentials
-
DeliveryConnect to mongod on TCP 27017
-
ExploitIdentify collection with 2dsphere index
-
ExecutionInsert specially crafted GeoJSON document
-
PersistTrigger null pointer dereference in index key generation
-
Impactmongod process crashes (DoS)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) network access to the MongoDB server (default port 27017/TCP); (2) a valid MongoDB account with at least write (insert) permission on a collection that has a 2dsphere index configured; (3) the target running MongoDB Server 8.3.0-8.3.8 - the vulnerability is specific to this release line. No special database role beyond collection-level write is required, but anonymous/unauthenticated access is not sufficient. The limiting factors are the mandatory authentication step (low privilege but not zero) and the version constraint (8.3.x only). Deployments that have never upgraded to 8.3 or have already patched to 8.3.9 are not affected. Collections without a 2dsphere index are also unaffected. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N, score 7.1) accurately captures the attack profile: network-reachable, low complexity, but requiring at minimum a low-privileged authenticated account with collection-write rights. The availability impact is high because crashing mongod terminates the entire server process, taking down all collections on that instance - not just the affected collection. For replica sets or sharded clusters, repeated crashes could force elections or trigger failover storms, amplifying impact. No CISA KEV listing and no public POC are noted, reducing the immediacy of exploitation risk. EPSS data is absent from the input, so exploitation probability cannot be quantified numerically. Real-world risk is moderate: any user with a write-capable MongoDB account (including application-level service accounts) can trigger this, but external actors must first obtain credentials or exploit a credential-theft pathway. The restriction to MongoDB 8.3.0-8.3.8 limits the exposed population to operators who have recently upgraded to the 8.3 branch but have not yet applied 8.3.9. |
| Exploit ScenarioDerived | An attacker who has obtained a MongoDB write-capable credential - for example, an application service account compromised via credential stuffing or an insider threat - connects to the target MongoDB 8.3.x instance and inserts a specially crafted GeoJSON document into any collection that has a 2dsphere index. The malformed geometry triggers the parsing inconsistency, and mongod immediately crashes, taking the entire server instance offline. In a replica-set deployment, the crash forces a primary election; if the attacker repeats the insert against each elected primary in succession, the service can be kept offline indefinitely. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 08, 2026
Null pointer dereference in MongoDB Server 8.3.x crashes the mongod process when a specially crafted GeoJSON document is inserted into a collection with a 2dsphere index. An authenticated user with write access can trigger an inconsistency in geometry parsing that leaves an internal object in a partially initialized state; subsequent index key generation then dereferences a null pointer and terminates the server. The net effect is a targeted denial of service requiring only a valid database account with write privileges. No public exploit code or active exploitation (CISA KEV) has been identified at time of analysis.
RemediationAI
Upgrade MongoDB Server to version 8.3.9 or later, which contains the vendor-supplied fix for the null pointer dereference in 2dsphere index key generation (per EUVD-2026-72942 and SERVER-130202 at https://jira.mongodb.org/browse/SERVER-130202). If an immediate upgrade is not possible, compensating controls should focus on minimizing the write-access attack surface: revoke or restrict database write permissions to the minimum required set of application service accounts, and audit any accounts with broad write access across collections that have 2dsphere indexes. Disabling 2dsphere indexes entirely is a functional workaround but will break geospatial query capability and is not recommended unless those queries are unused. Input validation at the application layer to reject malformed GeoJSON before it reaches MongoDB can reduce exposure but is not a reliable control because the malformed input must be specially crafted to trigger the specific parsing inconsistency. Monitor mongod process health and set up alerting on unexpected process restarts as a detection measure.
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's 2dsphere index is a geospatial index type that stores GeoJSON geometry objects (points, polygons, line strings, etc.) in a format optimized for spherical queries. Index key generation is triggered synchronously at insert/update time. The vulnerability (CWE-476, NULL Pointer Dereference) occurs because the geometry-parsing subsystem can return an object in a partially initialized state when it encounters a malformed or edge-case GeoJSON document, without propagating an error to the caller. The key-generation routine then unconditionally dereferences a member of this object, hitting a null pointer and causing an unhandled crash of the mongod process. The affected CPE is cpe:2.3:a:mongodb:mongodb_server, specifically the 8.3 release line from 8.3.0 through 8.3.8 inclusive.
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
Network-reachable via standard MongoDB port; requires low-privilege write credential; availability-only impact (server crash); no confidentiality or integrity effect.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
A security issue exists in MongoDB's 2dsphere index key generation that can cause a server crash due to a null pointer dereference. When a specially crafted GeoJSON document is inserted into a collection with a 2dsphere index, an inconsistency in geometry parsing can leave an internal object in an invalid, partially initialized state. During subsequent index key generation, access to this improperly initialized object results in a null pointer dereference that terminates the mongod process. An authenticated user with write access can use this to cause a denial of service.
Articles & Coverage 1
Executive ViewAI
MongoDB Server 8.3.x is vulnerable to a targeted denial-of-service attack that crashes the database when authenticated users with write access insert specially crafted GeoJSON documents into collections with 2dsphere indexes. While no public exploit code has been identified, the availability impact warrants immediate patching for all affected deployments.
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
A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).
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-72942
GHSA-qqwq-hqp9-87gv
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB