Skip to main content

MongoDB Server EUVDEUVD-2026-122822

| CVE-2026-120811 MEDIUM
Use After Free (CWE-416)
2026-11-10 cna@mongodb.com GHSA-3r42-9858-556g
6.0
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged user
  2. Delivery
    Execute crafted query populating plan cache
  3. Exploit
    Originating command memory is freed
  4. Execution
    Issue diagnostic command serializing plan statistics
  5. Impact
    Read 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

MongoDB Server 8.3.0 <8.3.16
MongoDB Server 8.0.0 <8.0.37
MongoDB Server 7.0.0 <7.0.48
MongoDB Server 9.0.0 <9.0.7

Affected Packages

euvd mongodb_server fix: 7.0.48, 8.0.37, 8.3.16, 9.0.7

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

Vendor (mongodb) PRIMARY 6.0 MEDIUM
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
vuln.today AI 5.9 MEDIUM

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).

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:L
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 10, 2026 - 21:20 EUVD
CVE Published
Nov 10, 2026 - 20:18 cve.org
MEDIUM 6.0

DescriptionCVE.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

EPSS Score
0.3%
Top 82% exploitable
Prevalence
High
widely deployed enterprise NoSQL database across many production environments
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2013-1892 MEDIUM POC
6.0 Oct 01

MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo

CVE-2026-118383 CRITICAL POC
9.5 Nov 10

Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa

CVE-2013-3969 MEDIUM POC
6.5 Oct 01

The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a

CVE-2018-13863 HIGH POC
7.5 Jul 10

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

CVE-2026-25887 HIGH POC
7.2 Mar 06

Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut

CVE-2019-2386 HIGH POC
7.1 Aug 06

After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's

CVE-2012-6619 MEDIUM POC
6.4 Mar 06

The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to

CVE-2026-137498 CRITICAL
9.9 Nov 26

Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or

CVE-2026-129987 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong

CVE-2026-3431 CRITICAL
9.8 Mar 02

SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary

CVE-2024-8654 CRITICAL
9.8 Sep 10

MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle

CVE-2024-6376 CRITICAL
9.8 Jul 01

MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy