Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain elevated internal MongoDB credentials
-
DeliveryConnect to MongoDB instance over network
-
ExploitCraft applyOps command with internal replication mode value
-
InstallBypass disabled production container-operations feature gate
-
C2Execute direct storage-engine writes
-
ExecuteWrite to arbitrary internal storage tables outside authorized namespace
-
ImpactCorrupt metadata or collection data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: 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 session with elevated internal MongoDB privileges - the CVSS PR:H metric confirms that standard read/write or dbAdmin roles are insufficient; only accounts holding internal roles such as __system or equivalent replication-tier privileges can supply the necessary replication mode parameter value to applyOps. The vulnerability affects only MongoDB Server 8.3.0 through 8.3.8; deployments outside this version range are not listed as affected. The specific attack surface is the applyOps command invoked with an internal replication mode parameter that is not normally client-selectable; production configurations disable the relevant container operations by default, and this bypass re-enables them by circumventing the feature gate. Standard application-tier accounts, read-only users, and administrative accounts without internal replication roles cannot exploit this vulnerability, limiting realistic exposure to insider scenarios or post-compromise privilege escalation. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:L) confirms network-reachable exploitation with no attack complexity, but critically requires high privilege (PR:H), which substantially narrows the realistic threat surface. There is no CISA KEV listing and no public proof-of-concept code, so active exploitation is not confirmed; the primary concern is insider threat or post-compromise privilege escalation within a MongoDB deployment. The integrity impact is genuinely severe - arbitrary internal storage-engine writes could corrupt catalog metadata, session state, or other collections' data, potentially rendering the database inconsistent or unrecoverable. The PR:H requirement means that even a mid-sized enterprise running MongoDB should treat this as a priority patch, since any account with elevated internal privileges constitutes a viable attack path that could be reached through credential theft or lateral movement. The low availability impact (VA:L) suggests partial disruption rather than full denial of service as the secondary consequence, and the absence of confidentiality impact (VC:N) indicates data exfiltration is not the primary concern here. |
| Exploit ScenarioDerived | An attacker who has compromised a MongoDB account holding elevated internal privileges - for example, through credential theft of a replication service account - crafts an applyOps invocation that sets the replication mode to an internal client-inaccessible value. This bypasses the production feature gate that suppresses container operations, allowing the attacker to write directly to arbitrary internal storage tables such as catalog metadata or another collection's underlying data pages. The result could be silent data corruption across the database, namespace poisoning, or targeted modification of application data in collections the attacker's nominal account was not authorized to access. No public proof-of-concept code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 08, 2026
Direct storage-engine writes to arbitrary internal MongoDB tables are possible through an authorization bypass in the applyOps command affecting MongoDB Server 8.3.0 through 8.3.8. An authenticated user holding elevated internal MongoDB privileges can specify a client-inaccessible internal replication mode value, circumventing a disabled production feature gate and enabling container operations that are suppressed by default. Because the authorization check validates only the operation's namespace rather than the actual storage engine target, the attacker can route writes to unrelated internal metadata or other collections' data, potentially corrupting database state. No public exploit has been identified at time of analysis.
RemediationAI
Upgrade MongoDB Server to version 8.3.9 or later, which resolves the feature-gate bypass in the applyOps command. The patch is confirmed available from the vendor per SERVER-131138 (https://jira.mongodb.org/browse/SERVER-131138). If immediate patching is not feasible, restrict the set of accounts holding elevated internal MongoDB privileges - specifically, audit and revoke the __system role and equivalent internal-replication roles from any account not strictly required for replication operations. Ensuring that no application-tier or externally-exposed accounts hold privileges sufficient to invoke internal replication mode parameters significantly reduces exposure. Network-level controls such as firewall rules and VPC segmentation that restrict MongoDB port access to trusted hosts provide additional defense-in-depth but do not eliminate the vulnerability for accounts that already hold the required privilege level.
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
MongoDB Server's applyOps command accepts a list of BSON operations and applies them to collections, serving as the backbone of MongoDB's replication and oplog infrastructure. The vulnerability arises because the command accepts an internal replication mode parameter - a value intended exclusively for internal replication machinery - that external clients are not supposed to be able to specify. This parameter controls whether 'container operations,' which are direct storage-engine writes gated off in production configurations, are permitted. The root cause is CWE-863 (Incorrect Authorization): the authorization logic for these container operations checks only the namespace field of the submitted operation, not the actual underlying storage engine target, allowing a privileged attacker to misdirect writes to arbitrary internal storage tables outside the intended namespace scope. The affected CPE is cpe:2.3:a:mongodb:mongodb_server:*:*:*:*:*:*:*:*, specifically versions 8.3.0 through 8.3.8.
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:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
Network-reachable but requires elevated internal MongoDB privileges (PR:H); integrity impact is high from arbitrary storage-engine writes, availability is low, and confidentiality is unaffected.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
A security issue in MongoDB Server allows an authenticated user with elevated internal privileges to bypass a disabled feature gate in the applyOps command by specifying an internal replication mode value that was not intended to be client-selectable. This bypass enables execution of container operations that are disabled by default in production configurations, allowing direct storage-engine writes to arbitrary internal storage tables. The authorization check for these operations validates only the operation's namespace, not the actual storage target, enabling writes to unrelated internal metadata or other collections' data.
Articles & Coverage 1
Executive ViewAI
MongoDB Server 8.3.0 through 8.3.8 contains an authorization flaw that allows authenticated administrators to bypass security controls and write data to internal database structures without proper authorization. Organizations running these versions risk unauthorized database modifications and potential data corruption, necessitating urgent patching to preserve data integrity and system stability.
Apply vendor patch.
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
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa
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
EUVD-2026-72949
GHSA-89pf-pvm7-xj92
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB