Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain read-level MongoDB credentials
-
DeliveryConnect to mongod over network (default port 27017)
-
ExploitIssue crafted sequence of standard query commands
-
ExecutionTrigger write to freed heap memory in query execution subsystem
-
ImpactCrash server process or corrupt heap structures
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 a valid MongoDB account with at minimum read privileges - the CVSS PR:L metric confirms authenticated access is mandatory; unauthenticated exploitation is not possible. The vulnerability is triggered through a specific sequence of standard database commands targeting the query execution memory tracking subsystem; no non-default server configuration appears to be required beyond running a MongoDB 8.3.0-8.3.8 instance. No victim-side user interaction is needed. The primary limiting factor is credential access: deployments where MongoDB authentication is enforced and read-only credentials are issued only to trusted, controlled application services face substantially lower realistic risk than shared or multi-tenant environments. |
| Impact | The CVSS 4.0 score of 7.2 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H) reflects a network-reachable flaw requiring low-privilege authentication with no special attack complexity, delivering high integrity and availability impact but no confidentiality breach - consistent with a crash/heap-corruption primitive rather than data exfiltration. Real-world risk is moderate-to-high in environments where untrusted parties hold read-level MongoDB credentials (shared SaaS clusters, multi-tenant deployments, compromised application accounts), but substantially lower where credential access is tightly controlled. No EPSS data was provided, the vulnerability is absent from CISA KEV, and no public exploit code has been identified - suggesting exploitation is not currently widespread or automated. The co-presence of a 'Buffer Overflow' tag alongside 'Use After Free' may indicate the UAF write primitive is shapeable into heap overflow conditions, potentially enabling code execution beyond denial of service, but this is not confirmed by the available description or references. |
| Exploit ScenarioDerived | An attacker with a compromised or legitimately obtained read-only MongoDB database account connects to a vulnerable 8.3.x mongod instance over the network and issues a crafted sequence of standard database query commands. This sequence triggers a write to freed heap memory within the query execution memory tracking subsystem, causing the mongod process to crash and deny service to all connected clients. In a more capable scenario, an attacker familiar with mongod heap layout may attempt to shape the corruption to achieve further memory manipulation primitives. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 08, 2026
Use-after-free in MongoDB Server 8.3.x (versions 8.3.0 through 8.3.8) allows authenticated users holding read-only privileges to write to freed heap memory by issuing a specific sequence of standard database commands against the query execution memory tracking subsystem. The immediate consequence is a server process crash (denial of service); heap memory corruption may also enable more sophisticated follow-on exploitation. No public exploit or CISA KEV listing has been identified at time of analysis, and a vendor-released patch is available in 8.3.9.
RemediationAI
Upgrade MongoDB Server to version 8.3.9 or later, which contains the vendor-released patch for this use-after-free. The fix is confirmed available per vendor advisory referenced in Jira ticket SERVER-130907 (https://jira.mongodb.org/browse/SERVER-130907). If an immediate upgrade is not feasible, revoke read-level database credentials from any untrusted or non-essential accounts - since exploitation requires at minimum low-privilege authentication (PR:L), eliminating untrusted credential holders removes the primary attack path. Additionally, restrict network access to the MongoDB port (default 27017) via firewall rules to only known, trusted application servers; this reduces exposure from external attackers but does not protect against a compromised internal application tier. No configuration-level workaround that preserves full functionality while fully mitigating the flaw has been identified from available data.
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 deployed C++ document-oriented NoSQL database engine. The vulnerability resides in the query execution memory tracking subsystem - the component that monitors and manages heap allocations during query plan evaluation and execution. CWE-416 (Use After Free) describes a memory-safety class where a heap allocation is freed but a stale pointer to that memory is retained; a subsequent write through that pointer corrupts adjacent heap structures or security-relevant metadata. In C++ codebases like mongod, UAF flaws can arise from complex object lifetimes during query iterator or cursor teardown. The affected CPE (cpe:2.3:a:mongodb:mongodb_server:*:*:*:*:*:*:*:*) combined with EUVD-2026-72948 version data confines the affected range to MongoDB Server 8.3.0 through 8.3.8, suggesting the regression was introduced in the 8.3 development cycle.
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:H/VA:H/SC:N/SI:N/SA:N
Network-reachable with read-level credentials (PR:L), no complexity; high integrity and availability from UAF write/crash, no confidentiality impact confirmed.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
A use-after-free security issue exists in the server's query execution memory tracking subsystem. An authenticated user with read privileges can trigger a write to freed heap memory through a sequence of standard database commands, leading to server process crash or potential memory corruption. No user interaction is required.
Articles & Coverage 1
Executive ViewAI
Organizations running MongoDB Server versions 8.3.0 through 8.3.8 face a denial-of-service risk where authenticated database users can crash server processes through a use-after-free flaw in query execution. Beyond immediate availability impact, the underlying memory corruption could enable more severe post-exploitation, creating both operational continuity and data integrity concerns.
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 buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
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.
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-72948
GHSA-5pfw-53c7-27v7
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB