Skip to main content

MongoDB Server EUVDEUVD-2026-56914

| CVE-2026-18696 HIGH
Incorrect Authorization (CWE-863)
2026-08-11 mongodb GHSA-85cq-4fh4-j8cv
7.0
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to MongoDB with high-privilege role
  2. Delivery
    Identify target collection without direct permission
  3. Exploit
    Craft applyOps payload exploiting collection resolution inconsistency
  4. Execution
    Authorization check passes on mismatched collection reference
  5. Persist
    applyOps executes DDL operation on unauthorized collection
  6. Impact
    Drop 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

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

MongoDB Server 8.0 <8.0.29
MongoDB Server 7.0 <7.0.40
MongoDB Server 8.3.0 <8.3.8

Affected Packages

euvd mongodb_server fix: 7.0.40, 8.0.29, 8.3.8

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

Vendor (mongodb) PRIMARY 7.0 HIGH
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
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H/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
High
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 11, 2026 - 20:19 EUVD
CVE Published
Aug 11, 2026 - 18:40 cve.org
HIGH 7.0

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 79% exploitable
Prevalence
High
widely deployed enterprise and cloud database platform
Data Quality
6 sources
Confidence: High

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.3%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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