Skip to main content

MongoDB Server EUVDEUVD-2026-56906

| CVE-2026-18704 HIGH
Missing Authorization (CWE-862)
2026-08-11 mongodb GHSA-cpxv-jhq7-7xvw
7.1
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Obtain valid read-only MongoDB credentials
  2. Delivery
    Connect to MongoDB Server over network
  3. Exploit
    Craft aggregation pipeline invoking internal write-capable stage
  4. Execution
    Submit pipeline via standard MongoDB client
  5. Persist
    Server executes embedded write without authorization check
  6. Impact
    Modify restricted collection data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
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 a valid MongoDB account holding at minimum read-level privileges on the target instance (PR:L per CVSS 4.0 vector). The attacker must have network access to the MongoDB Server and the ability to submit aggregation pipeline commands - this is standard MongoDB client functionality, not a special administrative interface. The specific condition enabling exploitation is knowledge of an internal aggregation stage name that the server does not restrict to internal invocations only; the stage itself accepts embedded write operations that bypass the caller's authorization context. Exploitation is bounded by authentication: unauthenticated network access to MongoDB alone is insufficient - valid credentials are required. No special server configuration, non-default feature flag, or elevated starting privilege beyond a basic read role is indicated. The non-disclosure of the specific internal stage name in public reporting provides marginal obscurity friction but is not a reliable security control.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) characterizes this as a low-complexity, network-reachable flaw requiring only a low-privilege authenticated session - the lowest realistic credential tier in a MongoDB deployment. The VI:H metric confirms high integrity impact: an attacker can corrupt, insert, or delete data in collections where they hold only read rights, which can have severe downstream application consequences. VC:N and VA:N limit the scope to integrity-only, ruling out direct data exfiltration or service disruption through this vector alone. EPSS data was not supplied, so quantitative exploitation probability cannot be stated. The absence of a CISA KEV listing and no identified public exploit code are moderating signals, but the low exploitation bar - any read-level credential suffices - means insider threats, credential-stuffing victims, or deliberately provisioned low-privilege service accounts all represent viable attack paths. MongoDB is widely deployed as a backend data store in enterprise and SaaS environments, amplifying the potential impact across affected installations. The missing version boundary in CPE data is a notable gap: administrators cannot yet determine from NVD alone whether their specific MongoDB Server release is vulnerable.

Exploit ScenarioDerived

An attacker who has obtained a low-privilege read-only MongoDB account - through credential stuffing, a compromised application service account, or deliberate provisioning - connects to the MongoDB Server over the network and submits a crafted aggregation pipeline that references the internal write-capable stage. The server processes the pipeline and executes the embedded write operation without verifying the caller's write authorization, allowing the attacker to insert, modify, or delete documents in a restricted collection. No public proof-of-concept code has been identified at time of analysis, but the attack requires only standard MongoDB client tooling and knowledge of the internal stage identifier.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% 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 aggregation framework allows any authenticated read-only user to perform unauthorized write operations against collections they lack write access to. The root cause is an internal-use aggregation stage reachable by external clients without an authorization check on its embedded operations (CWE-862: Missing Authorization). No public exploit code has been identified at time of analysis, and the vulnerability is not listed in CISA KEV, though the low privilege bar makes any compromised or malicious read-only account a viable threat actor.

RemediationAI

Monitor the MongoDB JIRA ticket SERVER-129936 (https://jira.mongodb.org/browse/SERVER-129936) for patch release announcements, as no specific fixed version was confirmed in the available data. Vendor-released patch version is not independently confirmed at time of analysis - do not assume patching is available until a tagged release is confirmed. As an interim compensating control, audit all database user roles and revoke read privileges from any account that does not strictly require them, reducing the pool of accounts capable of reaching the vulnerable stage. Consider restricting aggregation pipeline execution to specific trusted application-tier IP addresses via MongoDB network access controls or firewall rules, accepting the trade-off that this may complicate ad-hoc query access for analysts. Role-based access control (RBAC) hardening will not fully mitigate the vulnerability for legitimate read users but limits lateral exposure.

Affected VersionsENISA

MongoDB Server 8.3.0 <8.3.8

Affected Packages

euvd mongodb_server fix: 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 aggregation framework processes data through a pipeline of discrete stages (e.g., $match, $group, $lookup). Certain stages are designated internal-use only and are intended to be invoked exclusively by the server itself during internal operations. CWE-862 (Missing Authorization) applies when software fails to verify that a caller has the necessary privileges before executing a sensitive operation. Here, at least one such internal stage can be reached via the standard external aggregation interface, and when invoked, it executes embedded write operations without consulting the caller's authorization context. The CPE string cpe:2.3:a:mongodb:mongodb_server:*:*:*:*:*:*:*:* uses a full wildcard, indicating NVD has not yet bounded the affected version range to specific releases. The vulnerability exists at the MongoDB wire-protocol layer, making it reachable over the network by any client session that can authenticate.

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

Network-reachable by any authenticated read account (PR:L, AV:N, AC:L); integrity is fully compromised via unauthorized writes; no confidentiality or availability impact applies.

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

DescriptionCVE.org

An issue in MongoDB Server's aggregation framework could allow an authenticated user with only read privileges to perform write operations against collections they should not be able to modify. This is due to an internal-use aggregation stage being reachable by external clients without an appropriate authorization check on its embedded operations.

Executive ViewAI

Why It Matters

MongoDB Server's aggregation framework contains a privilege escalation vulnerability (CVE-2026-18704) allowing authenticated read-only users to execute unauthorized write operations on protected collections. Organizations with compromised or malicious read-only accounts face direct risk of data modification and integrity breach without requiring additional exploitation, lateral movement, or elevated credentials. This converts low-privilege database compromise into full write access capability.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Implement interim controls: restrict external access to internal aggregation stages via MongoDB administrative settings; enforce strict read-only account credential rotation and lifecycle management; deploy comprehensive logging and real-time alerting for aggregation pipeline operations targeting write-protected collections; add application-layer authorization validation for all database operations; consider temporary read-only account privilege suspension pending patch availability.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
High
widely deployed enterprise and cloud-native document 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.2%
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

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
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