Skip to main content

MongoDB Server EUVDEUVD-2026-122834

| CVE-2026-120818 HIGH
Use After Free (CWE-416)
2026-11-10 cna@mongodb.com GHSA-xcr7-38c4-884c
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 low-privilege MongoDB account
  2. Delivery
    Submit crafted aggregation with server-side JavaScript
  3. Exploit
    Trigger use-after-free stale reference
  4. Execution
    Read adjacent freed process memory
  5. Impact
    Exfiltrate leaked data defeating ASLR

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

Requires a valid authenticated MongoDB session (PR:L) reachable over the normal network protocol; however the description states the account may have minimal or no assigned roles, so this is a very low authorization bar rather than an administrative one. The vulnerable path is MongoDB Server's server-side JavaScript support for aggregation, triggered by a single crafted aggregation request. The description explicitly states no additional privileges and no non-default configuration are required, and no user interaction is needed (UI:N). Limiting factors are therefore narrow: the attacker must possess some credential and have network access to the database, and exploitation targets the aggregation JavaScript feature path; whether server-side JavaScript execution is enabled in a given deployment may bound exposure, though the sources describe it as triggerable under default conditions.

Impact

This is a moderate-priority issue that warrants scheduled remediation rather than emergency action, consistent with the input's 'this_week' decision label. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) describes a network-reachable, low-complexity attack that requires authentication (PR:L) and no user interaction, making it reliably repeatable by any account holder. The primary impact is confidentiality (VC:H) - disclosure of adjacent freed process memory - with only low availability impact (VA:L) and no integrity impact; this is an information-leak/memory-corruption primitive, not confirmed remote code execution. No EPSS score, KEV listing, or public exploit is present in the supplied data, so there is no evidence of active exploitation or weaponization; the only reference is the vendor's own Jira tracker (SERVER-135727). The chief aggravating factor is the low authorization bar: the description states a user with minimal or no assigned roles can trigger it, which widens the realistic attacker population in multi-tenant or loosely-provisioned deployments. The ASLR-undermining aspect raises the ceiling because a leak that defeats memory-layout randomization is a useful building block for chaining toward more serious exploitation, though no such chain is demonstrated in the available sources. Net: a real but not critical priority - patch on a normal cycle, prioritizing exposed or multi-tenant clusters.

Exploit ScenarioDerived

An attacker who holds any valid MongoDB account - even one with minimal or no assigned roles - connects over the normal network protocol and submits a single crafted aggregation request that invokes server-side JavaScript. The use-after-free causes a stale reference to freed memory to be read back in the response, leaking adjacent process memory contents that can include values useful for defeating ASLR. No public exploit code is identified in the available sources; the trigger mechanism beyond 'a crafted aggregation request' is not detailed.

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

A use-after-free flaw in MongoDB Server's server-side JavaScript support for aggregation lets an authenticated user holding minimal or no assigned roles retrieve stale contents of previously freed process memory by sending a single crafted aggregation request over the normal network protocol. The disclosed memory can include data that weakens memory-layout randomization, and in some cases the server's availability can be affected. Tracked as SERVER-135727 with a CVSS 4.0 score of 7.1, it is not in CISA KEV and no public exploit has been identified at time of analysis; the vuln.today decision label is 'this_week', so scheduled remediation is appropriate rather than emergency action.

RemediationAI

No vendor-released patch or fixed version is identified in the available data, so remediation must start with monitoring https://jira.mongodb.org/browse/SERVER-135727 for the MongoDB fix and applying it as soon as a patched release is published. Until then, the most direct compensating control is to disable server-side JavaScript execution in mongod (security.javascriptEnabled: false in the configuration file, or the --noscripting command-line option), which removes the vulnerable aggregation path - the trade-off is that any pipeline relying on $function, $accumulator or $where based logic, including map-reduce style workloads, will fail and must be rewritten in native aggregation stages or run on a separate instance. Because the flaw requires only a valid low-privilege credential, also reduce the attack surface by auditing and pruning database accounts, keeping network exposure limited to trusted application hosts via bindIp and firewall rules, and treating unauthenticated reachability of the database port as a configuration defect. Organizations that cannot disable JavaScript should prioritize rapid patching when the fix lands, and should watch server logs for anomalous aggregation requests as a detection measure rather than as a preventive control.

Affected VersionsENISA

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

Affected Packages

euvd mongodb_server fix: 7.0.48, 8.0.37, 8.3.16

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 root cause is CWE-416, use-after-free, inside the MongoDB Server code path that executes JavaScript within the aggregation framework (the server-side JavaScript engine reached by aggregation operators that evaluate user-supplied functions). A stale reference to a freed heap buffer survives long enough to be read and returned in the query result, which is why the impact is primarily confidentiality (C:H) with a limited availability effect (A:L) rather than memory corruption leading to code execution - the assessed CVSS 3.1 vector is AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L. Because leaked bytes may include pointers or layout-relevant data, the issue undermines memory-layout randomization, which is a meaningful reconnaissance primitive that can enable follow-up exploitation. The trigger is described as a single crafted aggregation request submitted by an authenticated session; the sources state no additional privileges and no non-default configuration are required, though whether server-side JavaScript is enabled in a given deployment may bound exposure, and the exact parsing/execution step where the reference is freed is not described in the available sources. No CPE strings were supplied with this record, so the affected build range must be taken from the MongoDB Jira issue SERVER-135727.

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:H/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 7.1 HIGH

Network-reachable aggregation request with low complexity by any authenticated account (PR:L); high confidentiality from freed-memory disclosure, no integrity impact, and only low availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L
4.0 AV:N/AC:L/AT:N/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
None
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:50 EUVD
CVE Published
Nov 10, 2026 - 21:19 cve.org
HIGH 7.1

DescriptionCVE.org

A use-after-free weakness in MongoDB Server's server-side JavaScript support for aggregation may allow a stale reference to previously freed process memory to be read and returned. An authenticated user with minimal or no assigned roles can trigger this condition over the normal network protocol by submitting a single crafted aggregation request, with no additional privileges or non-default configuration. Successful triggering this issue may result in adjacent process memory contents being returned, including data that undermines memory-layout randomization, and may in some cases affect server availability.

Executive ViewAI

Why It Matters

A high-severity use-after-free vulnerability in MongoDB Server (CVE-2026-120818) allows even low-privileged authenticated users to potentially access sensitive residual memory data, undermining memory-layout randomization protections. This could expose confidential information or enable further attacks, though no active exploitation has been observed. Given the vulnerability's nature and the lack of a patch, organizations relying on MongoDB for critical data storage should prioritize mitigation to prevent potential data leakage.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting network access, enforcing strong authentication, and disabling server-side JavaScript execution if not required.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
High
MongoDB Server is a widely deployed enterprise 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 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

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.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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