Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach replica set member over network
-
DeliveryTarget primary during catch-up window
-
ExploitSend crafted unauthenticated requests
-
ExecutionTrigger use-after-free in replication component
-
ImpactCrash 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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
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.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.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.
Articles & Coverage 2
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
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.
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
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.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
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
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
Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma
All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. Rated critical severity (CVSS 9.8
EUVD-2026-122846
GHSA-fjxh-6vgh-cx2c
NVD
CVE.org
EPSS
VulDB
Exploit-DB