Skip to main content

MongoDB Server CVE-2026-118383

| EUVDEUVD-2026-122846 CRITICAL
Use After Free (CWE-416)
2026-11-10 cna@mongodb.com GHSA-fjxh-6vgh-cx2c
9.5
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Reach replica set member over network
  2. Delivery
    Target primary during catch-up window
  3. Exploit
    Send crafted unauthenticated requests
  4. Execution
    Trigger use-after-free in replication component
  5. Impact
    Crash mongod or execute code in server process

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 network reach to a MongoDB Server replica set member - including the shard and config server replica set members of sharded clusters - during the transient window when a newly elected primary is completing replication catch-up, i.e. around a replica-set election/failover. No authentication is required (CVSS PR:N, confirmed by the description). Standalone mongod instances are explicitly NOT affected, which is a significant limiting factor - only replicated/sharded deployments are exposed. The other limiting factor is CVSS AC:H combined with the narrow post-election catch-up timing: the attacker does not control when elections occur, constraining reliable exploitation. The trigger mechanism beyond 'requests that do not require authentication' during catch-up is not described in the available sources.

Impact

This is a genuine high-priority issue, not a high-CVSS-but-low-risk artifact. The CVSS 4.0 vector (AV:N/AC:H/PR:N/UI:N) describes a network-reachable, unauthenticated flaw, and the description independently confirms the trigger requires no authentication (PR:N is corroborated, not just inferred). The vuln.today Decision label is act_now and MongoDB's own CNA (cna@mongodb.com) assigned a 9.5, with full high impact to confidentiality, integrity and availability plus a claimed subsequent-system (SC/SI/SA:H) scope. CWE-416 use-after-free with a stated possibility of arbitrary code execution in the server process is the worst-case outcome; the more probable outcome in practice is unexpected server termination (denial of service). Counterbalancing signals: AC:H is present in the vector and the condition is narrow - the UAF arises only 'when a newly elected replica set primary completes catch-up,' i.e. during a replica-set election/failover window, which an attacker does not fully control and which limits reliable weaponization. No EPSS score and no KEV status were supplied, and the only two references are internal MongoDB Jira tickets (SERVER-138119, SERVER-138175), not an advisory or exploit, so there is no evidence of in-the-wild exploitation despite the act_now label - treat urgency as patch-driven, not exploitation-driven. Arbitrary code execution is qualified in the source as possible 'under certain conditions' and should be treated as plausible worst case rather than demonstrated.

Exploit ScenarioDerived

A remote, unauthenticated attacker reaches a replica set member over the network and sends requests during the window in which a newly elected primary is completing catch-up, triggering a use-after-free in the replication component. The most likely result is the mongod process terminating unexpectedly (denial of service to that replica set member or sharded-cluster component); under unspecified conditions the source states arbitrary code execution in the server process context is possible. No public exploit identified at time of analysis; the two references are MongoDB Jira tracking tickets, not proof-of-concept code.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
1 public PoC Patch available 0.7% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 10, 2026

Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certain conditions, permit arbitrary code execution in the server process context when a newly elected primary finishes catch-up. Replica set members, including shard and config server replica set members in sharded clusters, are affected; standalone mongod instances are not. The flaw is reachable over the network without authentication (PR:N), but exploitation is constrained by high attack complexity and the narrow post-election catch-up window; no public exploit identified at time of analysis.

RemediationAI

No vendor-released patch or fixed version is identified in the supplied data; monitor MongoDB Jira SERVER-138119 and SERVER-138175 for a patched release. Because the evidence limits impact to replica set members and excludes standalone mongod, deployments that can tolerate losing replication can reduce exposure by not operating replica sets, at the cost of high availability, failover, and sharding, and this is not a fix for deployments that require replication. Network reach to a replica set member is a prerequisite, so restricting which clients and networks can reach replica set members reduces exposure; this may disrupt legitimate application and replication traffic and does not correct the use-after-free. Given the act_now decision label, prioritize identifying exposed replica set and sharded deployments while awaiting a vendor fix.

Affected VersionsENISA

MongoDB Server 5.0.0 <5.0.35
MongoDB Server 4.4.0 <4.4.32
MongoDB Server 6.0.0 <6.0.30
MongoDB Server 8.0.0 <8.0.37
MongoDB Server 9.0.0 <9.0.7
MongoDB Server 8.3.0 <8.3.16
MongoDB Server 7.0.0 <7.0.48

Affected Packages

euvd mongodb_server fix: 4.4.32, 5.0.35, 6.0.30, 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 issue is a CWE-416 use-after-free in MongoDB Server's replication subsystem. Replica sets elect a primary and that primary performs catch-up replication before fully serving in the new role; the supplied sources state that requests which do not require authentication during this transient state can trigger the condition. The supplied CVSS 4.0 vector is AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H, while the assessed CVSS 3.1 vector is AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, reflecting network reachability, no authentication requirement, and high attack complexity tied to the election/catch-up timing. The trigger mechanism beyond unauthenticated requests during catch-up is not described in the available sources, and no CPE strings or affected version ranges were supplied. Standalone mongod instances are explicitly outside the affected deployment scope.

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 9.5 CRITICAL
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
vuln.today AI 8.1 HIGH

Network-reachable and unauthenticated (AV:N/PR:N per description), but constrained to the post-election catch-up window so AC:H; use-after-free enabling possible code execution yields C/I/A:H.

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

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

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

Lifecycle Timeline

2
Patch available
Nov 10, 2026 - 21:50 EUVD
CVE Published
Nov 10, 2026 - 21:18 cve.org
CRITICAL 9.5

DescriptionCVE.org

A use-after-free in the replication component of MongoDB Server can occur when a newly elected replica set primary completes catch-up. The condition can be caused by requests that do not require authentication, and may result in the server terminating unexpectedly or, under certain conditions, arbitrary code execution in the context of the server process. Replica set members are affected, including the shard and config server replica set members of sharded clusters; standalone mongod instances are not.

Technical POC Analysis

CWE-416 use-after-free in the MongoDB Server replication component.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 public PoC link from packetstorm

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

CVE-2026-118383 is a critical use-after-free in MongoDB Server's replication component that can abruptly terminate replica set members and potentially enable arbitrary code execution during primary election catch-up, impacting databases, shards, and configuration servers. This threatens high availability of business-critical applications reliant on MongoDB and exposes sensitive data to compromise. Leadership should prioritize immediate mitigation because no vendor patch is available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include restricting network exposure (firewall and bind IP), enforcing authentication and least privilege, enabling audit logging, monitoring for replica set instability, and reducing election frequency where possible.

Threat Model

5 threats: Denial of Service, Elevation of Privilege, Tampering and 2 more

6-step attack chain with trust boundaries and controls

Full threat model - attack chain, trust boundaries, controls per stage and evidence - is part of the Pro and Business plans.

Threat Intelligence Overview

EPSS Score
0.7%
Top 46% exploitable
Prevalence
High
MongoDB is one of the most widely deployed enterprise database servers
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 CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
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
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

69
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +48
PoC: +20
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.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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

CVE-2020-7610 CRITICAL
9.8 Mar 30

All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. Rated critical severity (CVSS 9.8

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