Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to MongoDB with high-privilege role
-
DeliveryIdentify target collection without direct permission
-
ExploitCraft applyOps payload exploiting collection resolution inconsistency
-
ExecutionAuthorization check passes on mismatched collection reference
-
PersistapplyOps executes DDL operation on unauthorized collection
-
ImpactDrop or modify target collection causing data loss or service disruption
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 MongoDB user with specific non-default privileges - specifically, access to the applyOps command, which is not granted to standard read, readWrite, or typical application-level roles. The flaw is triggered exclusively through the applyOps command pathway; standard CRUD operations are not affected. The CVSS vector confirms no confidentiality impact (VC:N), so data exfiltration is not a consequence - only data-definition operations (drops, collection modifications) are achievable. Exploitation is further constrained to environments where the applyOps privilege has been explicitly granted to user roles, which is a non-default configuration in most deployments. The attack does not require user interaction (UI:N) and no specific platform or operating system constraint is indicated. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N with VC:N/VI:H/VA:H) scores 7.0, reflecting a network-accessible flaw with low attack complexity but a significant constraint: high privileges are required. This PR:H requirement substantially narrows the realistic attacker population to insiders, compromised privileged accounts, or environments where the applyOps privilege has been broadly granted. There is no CISA KEV listing and no EPSS score is available in the provided data, and no public exploit code has been identified at time of analysis - collectively suggesting this has not been observed in widespread exploitation. The absence of a confirmed patched version and the wildcard CPE make scoping difficult, meaning even a mid-sized municipal IT team in gliwice managing a shared MongoDB deployment should treat this as a medium-priority remediation item rather than an emergency, particularly if applyOps access is tightly controlled. The VI:H and VA:H impact ratings are meaningful - successful exploitation can destroy data or disrupt service - but the high privilege bar makes opportunistic exploitation unlikely absent insider threat or credential compromise. |
| Exploit ScenarioDerived | An authenticated MongoDB user holding a custom or built-in role that includes applyOps access - such as a backup operator or DBA with restore privileges - crafts an applyOps payload where the collection namespace presented during the authorization check resolves differently from the collection ultimately operated upon. The user issues the command over the network, bypasses the intended collection-level permission boundary, and drops or truncates a collection they are not authorized to modify, resulting in data loss or service disruption for applications depending on that collection. No public exploit code has been identified at time of analysis, but the low attack complexity (AC:L) suggests the technique could be reliably reproduced once the collection resolution inconsistency is understood. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 11, 2026
Privilege escalation in MongoDB Server's applyOps command allows authenticated users holding specific non-default privileges to perform data-definition operations - such as dropping or modifying collections - against collections they are not authorized to access. The flaw (CWE-863, Incorrect Authorization) stems from an inconsistency in collection resolution between the authorization check and the actual execution path within applyOps, a mechanism typically used for oplog replay and atomic multi-operation writes. No public exploit has been identified at time of analysis, and no CISA KEV listing exists; however, the CVSS 4.0 score of 7.0 with VI:H and VA:H signals meaningful data integrity and availability risk for deployments with shared or loosely governed privilege models.
RemediationAI
No specific patched version has been independently confirmed from available data; organizations should monitor the MongoDB Jira ticket SERVER-130139 (https://jira.mongodb.org/browse/SERVER-130139) and MongoDB's official security advisory channels for a confirmed fix release and apply it upon availability. As a compensating control, audit and restrict the applyOps privilege to only those roles that operationally require it - in MongoDB's role-based access control model, this means reviewing custom roles and built-in roles such as dbAdmin, clusterAdmin, and restore that may include applyOps access. Enforce the principle of least privilege by removing applyOps from any role that does not strictly need it, noting this may affect backup/restore workflows or replication tooling that relies on oplog replay. Consider adding database-level auditing for applyOps invocations to detect anomalous collection-targeting patterns. Network-level restrictions (e.g., binding MongoDB to internal interfaces only and restricting client access via firewall) reduce the attack surface but do not mitigate the flaw for users who already have legitimate network access.
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 applies a sequence of BSON oplog entries atomically and is used internally for replication as well as by administrative tooling for bulk operations. CWE-863 (Incorrect Authorization) describes a class of flaws where a system performs an authorization check but then acts on a different resource than was checked - a form of time-of-check to time-of-use (TOCTOU) inconsistency at the authorization layer. In this case, the collection namespace resolved during the permission evaluation differs from the collection ultimately targeted by the DDL operation, allowing the privilege boundary to be bypassed. The CPE string cpe:2.3:a:mongodb:mongodb_server:*:*:*:*:*:*:*:* covers all versions of MongoDB Server without a bounded version range, indicating the affected scope has not yet been precisely delimited in public data. The issue is specific to the applyOps command pathway, not standard CRUD operations, and is classified under the 'Authentication Bypass' tag in the reporter's taxonomy - more precisely, it is an authorization bypass affecting DDL-class operations.
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:H/SC:N/SI:N/SA:N
Network-accessible via MongoDB port with PR:H since exploitation requires specific non-default applyOps privilege; no confidentiality impact as only DDL operations are achievable.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
An issue in MongoDB Server's applyOps command could allow an authenticated user with specific non-default privileges to perform certain data-definition operations, such as dropping or modifying collections, against collections they do not have permission to manipulate. This is due to an inconsistency in how the target collection is determined between the authorization check and the actual operation.
Executive ViewAI
MongoDB Server contains a privilege escalation vulnerability (CVE-2026-18696, CVSS 7.0) in the applyOps command allowing authenticated users to modify collections beyond their authorization scope. This threatens organizations running MongoDB with shared instances or loose privilege governance, risking unauthorized data modification and loss. No vendor patch is available; interim mitigations must be implemented immediately.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict applyOps command execution via role-based access control; (2) Audit and tighten privilege grants to limit collection-modification rights; (3) Enable collection-level audit logging and monitor for unauthorized DDL operations; (4) Implement network segmentation to limit access to MongoDB instances; (5) Monitor vendor advisories and prepare for immediate patching upon release.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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-56914
GHSA-85cq-4fh4-j8cv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB