Skip to main content

MongoDB Server CVE-2026-18698

| EUVDEUVD-2026-56882 MEDIUM
Incorrect Authorization (CWE-863)
2026-08-11 mongodb GHSA-vh87-wfq5-jrqm
5.3
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Obtain valid low-privilege credentials
  2. Delivery
    Authenticate to MongoDB server
  3. Exploit
    Issue operations targeting system collections
  4. Execution
    Bypass database-scoped role enforcement
  5. Persist
    Read system collection metadata
  6. Impact
    In permissive configurations, modify system 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 a valid authenticated session to the MongoDB server: the attacker must hold at least one database-scoped role on any database - this is the minimum RBAC footprint that triggers the authorization bypass (PR:L per CVSS 4.0). The broader write-impact variant is conditional on specific deployment configurations (not further specified in available data - likely related to replica set or sharded cluster topology). No user interaction is required beyond authentication. Limiting factors: unauthenticated exploitation is not possible; users with no assigned roles cannot trigger the flaw; the modification impact is constrained to deployments with certain (unspecified) configuration states. Default MongoDB Community installations with authentication enabled and default roles assigned are within scope for the metadata-exposure variant.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) places this at a network-reachable, low-complexity exploit requiring only low privileges - a meaningful real-world baseline. However, the overall CVSS 4.0 score of 5.3 is moderate, and several signals temper urgency: SSVC classifies exploitation as 'none' and technical impact as 'partial', automatable is 'no', and no KEV listing or public POC exists. The dual impact modes - metadata exposure (always applicable) and system collection modification (configuration-dependent) - mean actual blast radius varies significantly by deployment topology. Organizations running replica sets or sharded clusters with custom roles should treat the modification vector as higher risk than the base score implies, while simpler standalone deployments face primarily an information-disclosure exposure. No EPSS data was supplied, and the SSVC 'none' exploitation status suggests this has not been observed in adversarial use. This is a real authorization defect warranting prompt patching, but it does not rise to emergency-response priority absent KEV confirmation or a public exploit.

Exploit ScenarioDerived

An attacker who has obtained credentials for a low-privileged MongoDB account - through credential stuffing, insider access, or compromise of an application service account - sends database operations targeting protected system collections. The server's authorization layer incorrectly permits the operation, exposing collection metadata such as index configurations, user records, or role definitions. In deployment configurations where the flaw also permits writes, the attacker could modify system collection data to escalate privileges or alter access control entries. No public exploit code exists at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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

Insufficient privilege enforcement in MongoDB Server allows an authenticated user holding only a limited database-scoped role to operate against protected system collections normally restricted to higher-privilege roles. Affected versions span the 7.0, 8.0, and 8.3 release lines. Depending on deployment configuration, exploitation can expose collection metadata or enable unauthorized modification of system collection data. No public exploit has been identified at time of analysis, and SSVC assessment confirms no observed exploitation.

RemediationAI

The primary remediation is upgrading to the patched releases: MongoDB Server 7.0.40, 8.0.29, or 8.3.8, per vendor-released patch. The MongoDB Jira issue SERVER-130481 (https://jira.mongodb.org/browse/SERVER-130481) is the authoritative upstream reference. As a compensating control where immediate upgrade is not feasible, review and audit all database-scoped role assignments to ensure no user holds broader roles than operationally necessary - tightening role grants reduces the pool of accounts that could trigger this path. Additionally, enabling MongoDB audit logging to monitor access to system collections (system.users, system.roles, etc.) can provide detection coverage while the patch is staged. Note that audit logging introduces I/O overhead and should be capacity-tested before enabling in high-throughput environments.

Affected VersionsENISA

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

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 implements a role-based access control (RBAC) model where database-scoped roles are intended to constrain user actions to specific databases and collections. CWE-863 (Incorrect Authorization) describes the root cause: the authorization check fails to correctly enforce that operations against system collections require elevated, purpose-specific privileges beyond what a standard database-scoped role provides. The flaw resides in the server-side privilege evaluation logic for system collection access paths. CPE cpe:2.3:a:mongodb:mongodb_server:*:*:*:*:*:*:*:* covers all editions of the server component. The affected version ranges - 7.0 before 7.0.40, 8.0 before 8.0.29, and 8.3.0 before 8.3.8 - span current major release trains, indicating the authorization defect was present across a significant development window.

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

Network-reachable with low-privilege auth required; limited confidentiality and conditional integrity impact; no availability effect and no scope change.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/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
Low
Vulnerable system: Integrity
Low
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:47 cve.org
MEDIUM 5.3

DescriptionCVE.org

An issue in MongoDB Server could allow an authenticated user with a limited database-scoped role to perform an action against protected system collections that should require more specific privileges. This could result in exposure of collection metadata and, on certain deployment configurations, unauthorized modification of system collection data.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
High
MongoDB is a widely deployed database in enterprise and cloud-native stacks.
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

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