Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid MongoDB credentials with read/write access
-
DeliveryConnect to MongoDB over network (port 27017/TCP)
-
ExploitIdentify accessible time-series collection
-
ExecutionSubmit crafted query to trigger use-after-free
-
Persistmongod dereferences freed pointer
-
ImpactCrash (DoS) or heap memory returned in query results
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 | Exploitation requires an authenticated session with both read and write privileges on the target MongoDB Server instance - unauthenticated access is not sufficient. The vulnerable code path is only reachable when the target server has time-series collections in use and the attacker's account has access to them; standard document collections are not affected. The specific query pattern that triggers the use-after-free has not been publicly disclosed, which raises the bar beyond credential possession alone. Limiting factors: mandatory authentication with read/write role, the deployment must have time-series collections configured and accessible to the attacker's account, and the triggering query type is not yet publicly detailed. MongoDB deployments without time-series collections are not exposed to this code path. |
| Impact | The CVSS 4.0 score of 7.1 is driven by high vulnerable-system availability impact (VA:H) and low confidentiality impact (VC:L), with a network attack vector and low complexity. The PR:L requirement - authenticated read and write access - is the primary limiting factor and meaningfully narrows the exploitable population compared to a PR:N vulnerability. No EPSS score was provided in the available intelligence, and the absence of a CISA KEV listing indicates no confirmed active exploitation at time of analysis. No POC or exploit code has been identified; these are distinct signals and should not be conflated. The dual-impact nature (crash or heap data leak) is notable: the DoS path is highly reliable for any triggering query, while the memory disclosure path is heap-layout dependent and harder to reliably weaponize. For organizations using time-series collections, the DoS risk is operationally significant since a single authenticated query can crash the server process. The wildcard CPE version range is a gap - the true exposure window cannot be bounded without reviewing the Jira ticket SERVER-130247 directly. |
| Exploit ScenarioDerived | A compromised application service account - or a malicious insider with MongoDB read/write credentials - connects to the MongoDB Server over the network and issues a crafted query targeting a time-series collection. If the heap layout is favorable at the time of exploitation, the query engine dereferences the freed pointer and the mongod process crashes, causing a denial of service to all clients for the duration of the restart cycle; alternatively, the freed memory region is returned within the query result set, potentially exposing data from other in-process operations. No public proof-of-concept is known, making opportunistic mass exploitation unlikely at this stage. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 11, 2026
MongoDB Server's query execution engine contains a use-after-free condition (CWE-416) that authenticated users with read and write privileges can trigger by running specific queries against time-series collections. The dereferencing of a freed internal pointer results in either a full server crash - denying service to all connected clients - or partial disclosure of freed heap memory contents within query results. No public exploit code exists and the vulnerability is not listed in the CISA KEV catalog at time of analysis, though the network-accessible, low-complexity attack path elevates practical urgency for deployments relying on time-series collections.
RemediationAI
No exact patched version has been confirmed from the available data - the sole reference is MongoDB Jira ticket SERVER-130247 (https://jira.mongodb.org/browse/SERVER-130247), and a vendor-released patch version has not been independently identified at time of analysis. Defenders should monitor that Jira issue and MongoDB's security advisories page for a fix release and upgrade promptly once available. As a compensating control, restrict read and write access to time-series collections to only the minimum set of service accounts that genuinely require it, reducing the pool of principals that can trigger the vulnerable query path; note this does not eliminate the risk for legitimate accounts. For deployments that do not use time-series collections, disabling or avoiding creation of time-series collections eliminates exposure entirely with no functional trade-off for those workloads. Network-level restrictions on MongoDB's listening port (default 27017/TCP) to trusted application tiers limit lateral exploitation by compromised internal accounts but do not protect against a malicious or compromised application-layer principal.
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 is a widely used NoSQL document database; time-series collections are a specialized storage format introduced to optimize ingestion and querying of sequentially timestamped data. The query execution engine fails to enforce correct object lifetime when evaluating certain queries against these collections - an internal reference is held and later dereferenced after the backing heap allocation has been freed, matching the CWE-416 use-after-free root cause class. This is a memory corruption class bug: depending on heap layout and timing, the freed region may have been reallocated with attacker-observable data (information disclosure) or may trigger an illegal memory access causing a crash (denial of service). The CVSS 4.0 base vector AV:N/AC:L/AT:N/PR:L/UI:N confirms the flaw is reachable over the network with no special attack prerequisites beyond authenticated low-privilege access. The affected CPE is cpe:2.3:a:mongodb:mongodb_server:*:*:*:*:*:*:*:*, with wildcard version fields indicating NVD has not yet bounded the affected release range.
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:L/VI:N/VA:H/SC:N/SI:N/SA:N
PR:L reflects mandatory authenticated read/write access; VA:H captures reliable server crash; C:L reflects probabilistic heap disclosure dependent on layout.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
An issue in MongoDB Server's query execution engine could allow an authenticated user with read and write privileges to cause an internal reference to be used after the underlying memory has been freed, when running certain queries against time-series collections. This could result in a server crash or disclosure of freed memory contents within query results.
Executive ViewAI
MongoDB Server contains a use-after-free vulnerability in time-series query processing that allows authenticated database users to crash MongoDB instances or extract sensitive heap memory, creating availability and data confidentiality risks across dependent applications. The vulnerability requires users with existing read/write database privileges to exploit, concentrating risk on insider threats and compromised account scenarios. With no vendor patch available, immediate access control hardening and architectural review are essential.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict network access to MongoDB instances via firewall rules; implement database-level access controls limiting read/write privileges on time-series collections to only essential applications and service accounts; enable MongoDB's query profiling and alerting to detect exploitation attempts; disable time-series collections if not actively required; increase monitoring frequency for MongoDB server crashes and performance anomalies; maintain current network and database access logs for forensic investigation if compromise is suspected.
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-56884
GHSA-xv7q-6jr5-mw96
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB