Skip to main content

MongoDB Server CVE-2026-18712

| EUVDEUVD-2026-56885 HIGH
Incorrect Authorization (CWE-863)
2026-08-11 mongodb GHSA-jpw7-w4h8-xcfw
7.2
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 low-privileged credentials
  2. Delivery
    Obtain or hold privileges on a Queryable Encryption-enabled collection
  3. Exploit
    Invoke or await a QE maintenance operation (e.g., compaction)
  4. Execution
    Exploit insufficient metadata namespace validation in maintenance logic
  5. Persist
    Trigger unauthorized write or delete operations against a separate collection namespace
  6. Impact
    Corrupt or destroy data in collections beyond attacker's authorization scope

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

Requires an authenticated database user (PR:L per CVSS 4.0) with at minimum collection-level privileges on at least one collection configured with MongoDB's Queryable Encryption feature. The target MongoDB Server deployment must explicitly have Queryable Encryption enabled and in active use - this is a non-default, enterprise-grade capability requiring deliberate setup and is not present in standard MongoDB deployments. Exploitation is further limited to triggering or coinciding with Queryable Encryption maintenance operations (e.g., compaction), which may occur automatically or require an explicit invocation. There is no requirement for administrative roles, DBA-level permissions, or any specific OS-level access beyond authenticated network connectivity to the MongoDB instance. Standard MongoDB deployments without Queryable Encryption configured are not exposed to this vulnerability code path, which is a meaningful limiting factor for the overall at-risk population.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N) describes a remotely reachable, low-complexity flaw requiring only low-privileged authenticated access, with no subsequent-system scope change - the full impact (high integrity, high availability) is contained within the MongoDB Server instance itself. The absence of VC impact aligns with the description's focus on modification and destruction rather than exfiltration. No EPSS data was provided, no CISA KEV listing exists, and no public exploit code has been identified, which together moderate the immediacy of widespread exploitation; however, the technical bar for exploitation is low once an attacker holds any authenticated foothold on a QE-enabled instance. SSVC framing suggests exploitation is feasible and targeted rather than opportunistic, since the attacker must already be a legitimate database principal - yet even a mid-sized municipal IT team in zabrze running MongoDB with Queryable Encryption for compliance-sensitive data should treat this as an urgent patching priority, given that silent cross-collection data corruption can undermine data integrity guarantees that encryption was specifically deployed to protect.

Exploit ScenarioDerived

An authenticated MongoDB database user holding low-level privileges on a Queryable Encryption-enabled collection invokes or waits for a triggered QE maintenance operation such as compaction. The server processes internal metadata that contains references to a different collection's namespace, and due to insufficient authorization checks, executes modification or deletion operations against that target collection - corrupting or destroying data the attacker was never authorized to touch. No public proof-of-concept code is known at this time, though the attack requires only standard MongoDB client access.

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

Queryable Encryption maintenance operations in MongoDB Server permit an authenticated low-privileged database user to cause unauthorized modification or destruction of data in collections beyond their authorization scope. The flaw stems from insufficient validation of internal metadata namespace references during operations such as compaction, allowing a user scoped to one encrypted collection to trigger damaging actions against a logically separate collection. No public exploit has been identified and this vulnerability is absent from the CISA KEV catalog, but the high integrity and availability impact warrants urgent prioritization for any deployment leveraging the Queryable Encryption feature.

RemediationAI

Monitor the MongoDB Jira ticket SERVER-130633 at https://jira.mongodb.org/browse/SERVER-130633 and apply the vendor-released patch as soon as a fixed version is published; no specific fix version is confirmed from data available at time of analysis, so do not assume a particular release resolves this issue without vendor confirmation. As an immediate compensating control, audit and tighten database role assignments for all users who interact with Queryable Encryption collections, ensuring strict least-privilege enforcement so that no user holds unnecessary collection-level maintenance rights - this reduces the pool of principals capable of triggering the vulnerable maintenance operation path. If operational constraints permit, consider suspending scheduled Queryable Encryption compaction jobs in high-sensitivity environments until a patch is applied; note that deferring compaction will cause encrypted query performance to degrade over time as state collections grow. Enable and monitor MongoDB audit logging for unexpected cross-namespace write or delete operations as a detection layer for exploitation attempts.

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 Queryable Encryption (QE) is an enterprise feature introduced in MongoDB 6.0 that enables server-side querying of client-encrypted fields without exposing plaintext. Internally, QE relies on auxiliary state collections - such as ESC, ECOC, and ECC metadata structures - that track encryption state and are consumed during maintenance operations like compaction and cleanup. CWE-863 (Incorrect Authorization) identifies the root cause: during these maintenance routines, the server resolves namespace references embedded in internal metadata and acts on those namespaces without adequately verifying that the requesting principal holds authorization over the target namespace. The CPE string cpe:2.3:a:mongodb:mongodb_server:*:*:*:*:*:*:*:* covers all MongoDB Server versions, though the vulnerability is only exploitable through the QE code path. The Jira reference SERVER-130633 is the authoritative vendor tracking entry.

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

Network-exploitable with low privilege (authenticated collection user); scope unchanged as impact is confined to the same MongoDB server; no confidentiality impact per description.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/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
Low
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:49 cve.org
HIGH 7.2

DescriptionCVE.org

An issue in MongoDB Server's Queryable Encryption maintenance operations could allow an authenticated user with privileges on one encrypted collection to cause unauthorized modification or destruction of data belonging to a different collection. This is due to insufficient validation of certain internal metadata references before they are used to perform operations on other namespaces.

Executive ViewAI

Why It Matters

MongoDB Server Queryable Encryption contains a vulnerability (CVE-2026-18712, CVSS 7.2) enabling authenticated low-privileged database users to modify or destroy data across collections they are not authorized to access. Organizations deploying this encryption feature face immediate risk of unauthorized data loss and business disruption, with no vendor patch currently available.

Business Impact: High
Compensating Controls

Revoke or restrict low-privilege user access to Queryable Encryption collections; disable Queryable Encryption feature if not operationally essential; enforce role-based access controls limiting users to explicitly authorized collections; implement comprehensive audit logging of all encryption metadata operations; maintain enhanced monitoring for unusual collection access or maintenance operations; evaluate migration to alternative MongoDB encryption methods pending patch availability.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Medium
widely deployed database; Queryable Encryption is an optional enterprise feature
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