Skip to main content

MongoDB Server EUVDEUVD-2026-122883

| CVE-2026-120803 HIGH
Use After Free (CWE-416)
2026-11-10 cna@mongodb.com GHSA-xqmg-xhh6-75p8
7.1
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with readWrite privileges
  2. Delivery
    Craft malicious $setWindowFields pipeline
  3. Exploit
    Trigger SBE accumulator use-after-free
  4. Execution
    Dereference dangling pointer during serialization
  5. Impact
    Leak adjacent heap data and crash mongod

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 account with readWrite privileges on a database (PR:L), so it is not remotely exploitable against default unauthenticated access. The attacker must craft a specific $setWindowFields aggregation pipeline whose window-function accumulator executes under the Slot-Based Execution (SBE) engine, and the issue only manifests 'under specific conditions' when the accumulator carries forward a value that is later serialized - the precise state needed to produce the dangling pointer is not fully detailed in the available sources. Exploitation is further limited to MongoDB Server 8.3.0-8.3.15 and 9.0.0-9.0.6; it does not affect fixed releases 8.3.16 and 9.0.7. The primary limiting factors are the required database-level authentication and privilege, and the dependence on the SBE execution path for the affected pipeline.

Impact

This is a moderate-severity, authenticated denial-of-service with a limited information-disclosure component, not a critical remote-code-execution priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) confirms network reach and low attack complexity, but PR:L means the attacker must already hold readWrite privileges on a database - this is a post-authentication issue, so the realistic threat is a malicious or compromised low-privilege database user rather than an anonymous internet attacker. Impact is skewed toward availability (VA:H - the stale pointer dereference crashes mongod) with only limited confidentiality exposure (VC:L - a heap out-of-bounds read may leak adjacent heap contents); there is no integrity impact (VI:N). No EPSS score and no KEV listing were provided, and no public exploit was identified - the sole reference is a MongoDB JIRA tracking ticket (SERVER-135180), not working exploit code. The vendor's own priority signal is 'this_week', consistent with a serious-but-not-emergency bug that should be patched promptly. Overall this is a genuine but bounded operational risk: high impact to a MongoDB instance's availability if an attacker already has database access, low likelihood of opportunistic mass exploitation.

Exploit ScenarioDerived

An authenticated user holding readWrite privileges on any database submits a crafted $setWindowFields aggregation pipeline whose window-function accumulator runs under MongoDB's Slot-Based Execution engine, causing the accumulator to retain a dangling pointer. When the carried-forward value is later serialized, the freed memory is dereferenced, producing a heap out-of-bounds read that can leak adjacent heap contents and crash the mongod process. No public exploit was identified at time of analysis; the only reference is the vendor's JIRA ticket.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 10, 2026

Authenticated denial of service and limited heap memory disclosure affect MongoDB Server 8.3.x and 9.0.x when a user with readWrite privileges submits a crafted $setWindowFields aggregation pipeline that exercises an SBE window-function accumulator retaining a dangling pointer. Dereferencing that stale pointer during serialization of a carried-forward value produces a heap out-of-bounds read that can leak adjacent heap contents and crash mongod. Fixed releases are 8.3.16 and 9.0.7; no public exploit identified at time of analysis, and the requirement for database-level credentials keeps this below unauthenticated remote-code-execution priority.

RemediationAI

Apply the vendor fix by upgrading MongoDB Server to 8.3.16 or 9.0.7, the first releases outside the affected ranges, and track the vendor issue at https://jira.mongodb.org/browse/SERVER-135180; this is prioritized for the current week's remediation cycle. Until the upgrade is complete, limit readWrite role assignments to accounts that genuinely require them and review aggregation pipelines using $setWindowFields, because the defect is reachable only by authenticated users holding that database privilege; these steps reduce exposure but do not remediate the underlying use-after-free. No vendor workaround beyond updating is identified in the available sources.

Affected VersionsENISA

MongoDB Server 8.3.0 <8.3.16
MongoDB Server 9.0.0 <9.0.7

Affected Packages

euvd mongodb_server fix: 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 defect is a CWE-416 use-after-free in MongoDB's Slot-Based Execution (SBE) engine, specifically in a window-function accumulator used by certain $setWindowFields aggregation pipelines. The accumulator can retain a pointer to memory that has already been freed and later dereference it while serializing the carried-forward value, yielding a heap out-of-bounds read rather than a write primitive. Affected ranges are MongoDB Server 8.3.0 through 8.3.15 and 9.0.0 through 9.0.6; 8.3.16 and 9.0.7 are outside the affected ranges. The available sources do not describe the precise accumulator state, pipeline shape, or memory-reuse timing needed to create the dangling pointer, so the trigger beyond 'specific conditions' in an SBE-executed $setWindowFields pipeline remains unverified. The assessed impact is a moderate-severity, authenticated denial of service with a limited information-disclosure component.

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 7.1 HIGH
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
vuln.today AI 7.1 HIGH

Network-reachable aggregation command with low complexity but requiring readWrite privileges (PR:L); limited heap leak (C:L), no integrity impact, and server crash drives A:H.

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

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
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
HIGH 7.1

DescriptionCVE.org

A use-after-free issue exists in MongoDB’s SBE (Slot-Based Execution) implementation of a window function accumulator used by certain $setWindowFields aggregation pipelines. Under specific conditions, the accumulator can retain a dangling pointer to memory that has since been freed. When this stale pointer is later dereferenced during serialization of the carried-forward value, it can result in a heap out-of-bounds read that may expose adjacent heap contents and crash the mongod server. An authenticated user with readWrite privileges on a database can trigger this issue by crafting a specific aggregation pipeline.

Executive ViewAI

Why It Matters

MongoDB Server 8.3.x and 9.0.x contain an authenticated denial-of-service and heap memory disclosure flaw. An attacker with valid readWrite privileges can craft a $setWindowFields aggregation pipeline to crash the mongod process and potentially leak sensitive heap data. This requires existing database credentials, but any user with normal write access can exploit it, so insider threats or compromised accounts are the primary concern.

Business Impact: Medium
Compensating Controls

Apply vendor patch. If immediate patching is not possible, restrict readWrite privileges to trusted users, monitor for anomalous aggregation pipelines, and isolate MongoDB instances from untrusted networks.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
High
MongoDB is a widely deployed enterprise and cloud database platform
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 HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Medium

Priority Score

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

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.

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

CVE-2024-1351 CRITICAL
9.8 Mar 07

Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma

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