Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged user
-
DeliveryExecute crafted query populating plan cache
-
ExploitOriginating command memory is freed
-
ExecutionIssue diagnostic command serializing plan statistics
-
ImpactRead freed heap, leak sensitive server memory
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 client with at least low privileges (PR:L) on the MongoDB server and depends on triggering 'certain query conditions' that cause an unowned reference to earlier command data to be retained in the classic query engine's plan-cache statistics; disclosure is then realized by invoking a diagnostic command that serializes those plan statistics after the originating memory has been freed. Limiting factors: valid authentication is required, the specific query conditions must be met, and the memory-corruption/crash outcome depends on non-deterministic heap-reuse conditions (reflected as the AT:P attack requirement), so the information leak and the crash are not guaranteed on every attempt. No user interaction is needed. Affected branches are MongoDB Server 7.0.0-7.0.47, 8.0.0-8.0.36, 8.3.0-8.3.15, and 9.0.0-9.0.6; updating to 7.0.48, 8.0.37, 8.3.16, or 9.0.7 respectively is the vendor-provided fix. |
| Impact | This is a medium-severity (CVSS 4.0 base 6.0) information-disclosure flaw whose signals are internally consistent and point to a real-but-bounded priority rather than an emergency. The vector (AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:L) shows it is network-reachable but requires an authenticated low-privileged account (PR:L) and carries an attack requirement (AT:P) - the description grounds this as 'certain query conditions' to retain the stale reference plus 'certain heap reuse conditions' for the crash path, so exploitation is not fully attacker-deterministic. The impact is primarily confidentiality (VC:H - reading freed heap that may contain sensitive server-process memory) with a secondary availability effect (VA:L - possible crash); there is no integrity impact. No EPSS score and no KEV listing were supplied, and no verified public exploit is present, so there is no evidence of active or at-scale exploitation. The vendor's own priority label is 'this_month,' which aligns with the moderate score and the authentication prerequisite: schedule patching this cycle rather than treating it as a drop-everything emergency. The chief caveat is that confidentiality exposure of arbitrary server memory can be serious in multi-tenant or compliance-bound deployments, so environments where low-privilege database accounts are widely issued should prioritize it more aggressively. |
| Exploit ScenarioDerived | An authenticated user holding a low-privileged MongoDB account issues queries that cause an unowned reference to earlier command data to be cached in plan statistics, then runs a diagnostic command that serializes those statistics after the originating memory has been freed, causing the server to return freed heap contents to the client. Repeated attempts could sample sensitive in-process memory, and under certain heap-reuse conditions the same action may crash the server. No public, verified exploit code was identified at time of analysis; only a vendor tracking ticket (SERVER-135353) is referenced. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 10, 2026
MongoDB Server retains an unowned reference to data from an earlier command inside the classic query engine's plan-cache statistics, and a later diagnostic command that serializes those statistics can read freed heap memory, returning server process memory contents to the requesting client. Exploitation requires an authenticated client with at least low privileges (PR:L) plus the specific query conditions that populate the stale plan-cache entry, and the crash variant additionally depends on heap reuse occurring (reflected in the CVSS 4.0 AT:P requirement), so neither the leak nor the crash is guaranteed on each attempt. Affected branches are 7.0.0-7.0.47, 8.0.0-8.0.36, 8.3.0-8.3.15 and 9.0.0-9.0.6, with vendor fixes in 7.0.48, 8.0.37, 8.3.16 and 9.0.7; no public exploit code or confirmed active exploitation was identified at time of analysis, and the vulnerability.today decision label places it in the normal monthly patch cycle.
RemediationAI
Vendor-released patches are available: upgrade MongoDB Server to 7.0.48, 8.0.37, 8.3.16 or 9.0.7 depending on the branch in use; the advisory and fix tracking is at https://jira.mongodb.org/browse/SERVER-135353 (referenced from https://nvd.nist.gov/vuln/detail/CVE-2026-120811). The supplied sources describe no workaround, configuration toggle or feature flag that removes the plan-cache defect without upgrading, so updating is the only complete fix identified in the available data. Because the flaw is reachable only by an authenticated client with at least low privileges, exposure before the upgrade window is bounded by the accounts already granted on the deployment; the vulnerability.today decision label assigns this to the routine monthly patch cycle rather than emergency change handling, so plan the branch-appropriate upgrade into the next scheduled maintenance while tracking the JIRA issue for any vendor-issued interim guidance.
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
The flaw is a use-after-free (CWE-416) in the plan cache of MongoDB's classic query execution engine. Cached plan statistics are supposed to hold only data owned by the cache; under the query conditions described by the vendor, a reference originating from an earlier command is kept without ownership, so the statistics outlive the memory they point at. A subsequent diagnostic command that serializes those statistics then walks the dangling reference and copies whatever now occupies that heap region into the diagnostic output, which is how confidential server process memory reaches the client. Two outcomes are documented and are not equally likely: the information disclosure (VC:H, VI:N) is the primary effect, while availability impact (VA:L) only materializes when the freed region is reused in a way that makes the server dereference corrupt state and crash. The CVSS 4.0 vector rates AC:L but AT:P, and the independently assessed CVSS 3.1 vector is AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:L - both agree that reachability is bounded by attack requirements (valid authentication plus satisfied query preconditions) and that no user interaction is involved. No CPE strings were supplied with the source data, so product identification rests on the vendor-enumerated version ranges and the MongoDB JIRA issue SERVER-135353.
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:P/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N
Network-reachable but needs an authenticated low-priv account (PR:L) and specific query/heap conditions (AC:H); high memory-disclosure confidentiality (C:H), no integrity, only occasional crash (A:L).
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
A use-after-free issue exists in the MongoDB server’s classic query engine plan cache. Under certain query conditions, an unowned reference to data from an earlier command can be retained in cached plan statistics. After the originating memory is freed, a subsequent diagnostic command serializing those statistics can read freed heap memory, potentially returning sensitive server process memory contents to the authenticated client. Under certain heap reuse conditions, this may also cause the server to crash.
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
Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or
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
EUVD-2026-122822
GHSA-3r42-9858-556g
NVD
CVE.org
EPSS
Exploit-DB