Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain valid readWrite credential
-
DeliveryEstablish concurrent connections to text-indexed collection
-
ExploitInitiate upsert text-search queries with retry semantics
-
InstallTrigger concurrent index drop/recreate on same collection
-
C2Race window frees text metadata structures
-
ExecuteDereference stale raw pointer
-
Impactmongod process crash, all clients disconnected
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Authentication with at minimum readWrite privileges on the target database is required - the CVSS 4.0 PR:L metric confirms unauthenticated exploitation is not possible. The targeted collection must have a text index defined and active. Exploitation further requires the attacker to coordinate concurrent upsert retry text-search queries with index lifecycle operations (dropIndex or createIndex) on the same collection, within a narrow timing window - captured by CVSS 4.0 AC:H and AT:P. These concurrency requirements limit exploitation to deliberate, targeted attacks. Default MongoDB deployments that grant readWrite access to application service accounts satisfy all conditions for exploitation. |
| Impact | The CVSS 4.0 score of 6.0 with vector AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H accurately captures the threat profile: network reachable but requiring authentication (PR:L), deliberate timing coordination (AC:H), and a specific concurrent index operation prerequisite (AT:P). The sole impact is complete availability loss (VA:H) for all database clients - scope is contained, with no confidentiality or integrity impact. No EPSS score is provided in available data. There is no CISA KEV listing and no public exploit code identified at time of analysis. Even a mid-sized municipal IT team in olsztyn running MongoDB with shared application credentials should treat this as an urgent patching priority, since any valid readWrite account - including compromised application service accounts - can weaponize the race deliberately. The AC:H constraint significantly reduces opportunistic or automated exploitation likelihood, but insider threats or sophisticated attackers with credential access represent a realistic scenario given the deliberate but achievable concurrency pattern required. |
| Exploit ScenarioDerived | An attacker with a valid MongoDB readWrite credential - such as a compromised application service account - opens two concurrent database connections. On one connection, they continuously submit upsert operations with text-search queries against a text-indexed collection, inducing retry paths; on the second connection they repeatedly drop and recreate the text index on the same collection. When the index drop frees the underlying metadata structures mid-retry on the first connection, the stale pointer dereference crashes the mongod process, taking down all client connections simultaneously. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 08, 2026
Heap use-after-free in MongoDB Server's text index query parser allows authenticated users with readWrite privileges to crash the server process through deliberate concurrent operations. By combining upsert retry text-search queries with concurrent index lifecycle operations (create/drop) on the same collection, an attacker can trigger a race window where a raw pointer to freed text index metadata structures is dereferenced, aborting the mongod process and causing denial of service for all connected clients. No public exploit has been identified; vendor patches are available for all three affected release lines (7.0.x, 8.0.x, 8.3.x).
RemediationAI
Upgrade to the patched release corresponding to your installed branch: MongoDB Server 7.0.41 for 7.0.x deployments, 8.0.30 for 8.0.x, or 8.3.9 for 8.3.x, as documented at https://jira.mongodb.org/browse/SERVER-130306. If immediate upgrade cannot be scheduled, restrict readWrite privilege grants to the minimum set of trusted application service accounts required for operations, eliminating untrusted-user access to the vulnerable code path. As an additional compensating control, dropping all text indexes on collections where full-text search is not operationally required removes the vulnerable code path entirely, though this disables text-search query capability for those collections. Preventing concurrent index management operations (createIndex/dropIndex) from running alongside application workloads - for example by scheduling index operations in maintenance windows - reduces but does not eliminate the exploitable race window.
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
CWE-416 (Use After Free) describes the root cause: MongoDB's text index query parser retains a raw C++ pointer to internal text index metadata during upsert retry execution. When a concurrent thread completes an index lifecycle operation - such as dropping or rebuilding the text index - that frees the underlying metadata structures before the retry path completes its pointer dereference. The read of a stale heap address causes a process-level crash. This race condition is narrow by nature, reflected in the CVSS 4.0 metrics AC:H (high attack complexity) and AT:P (specific attack prerequisite requiring concurrent index operations). Affected products are identified by CPE cpe:2.3:a:mongodb:mongodb_server covering the 7.0.x, 8.0.x, and 8.3.x release trains. MongoDB Server is a C++ application, making use-after-free conditions of this type particularly severe as they bypass language-level safety guarantees.
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:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Requires readWrite authentication (PR:L) and deliberate timing of concurrent operations (AC:H); impact is availability-only crash with no scope change.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
A race condition in MongoDB server's text index query parsing can cause a heap use-after-free read when handling upsert retry paths. Under certain concurrent index lifecycle operations, a raw pointer to internal text index metadata may be dereferenced after the underlying structures have been freed, leading to a server crash. An authenticated user with readWrite privileges can trigger this condition through specific concurrent text-search and index management operations, resulting in denial of service for all connected clients. This
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
Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
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-72943
GHSA-63w5-8wj5-r44q
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB