Skip to main content

MongoDB Server CVE-2026-18687

| EUVDEUVD-2026-56864 HIGH
Integer Underflow (CWE-191)
2026-08-11 mongodb GHSA-q4pc-c9m4-c873
7.1
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Recon
    Obtain or compromise readWrite credentials
  2. Delivery
    Identify Queryable Encryption-configured collection
  3. Exploit
    Craft malformed QE maintenance request with invalid parameters
  4. Install
    Submit request to MongoDB Server
  5. C2
    Trigger integer underflow in parameter validation
  6. Execute
    Induce server crash or resource exhaustion
  7. Impact
    Corrupt encrypted index data

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer underflow checks
Exploitation Conditions

Exploitation requires an authenticated account holding at minimum the readWrite role on a MongoDB database that contains at least one collection configured with Queryable Encryption (i.e., the collection has an EncryptedFieldConfig defining one or more encrypted fields). The Queryable Encryption feature must be in active use - deployments that do not use Queryable Encryption are not exposed to this code path. Network access to the MongoDB server port is required. No special platform, OS, or non-default server configuration beyond Queryable Encryption usage is indicated. Exploitation is limited by the authentication barrier: unauthenticated external attackers cannot reach the vulnerable code path. The CVSS 4.0 vector specifies AT:N, meaning no additional attack requirements beyond credentials and QE-enabled collections.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:H) scores 7.1 and accurately reflects the threat model: network-reachable, low complexity, but requiring at minimum readWrite-level authentication. The high availability impact (VA:H) corresponds to confirmed server crash capability; the low integrity impact (VI:L) reflects encrypted index corruption rather than arbitrary data modification. There is no confidentiality impact (VC:N), consistent with the vulnerability class. No EPSS data is provided in the intelligence set, and the vulnerability is not in CISA KEV, indicating no confirmed active exploitation. The absence of a public POC further reduces near-term mass-exploitation risk. The realistic threat actor is a malicious or compromised internal database user - an insider threat or post-initial-access pivot scenario - rather than an unauthenticated external attacker. The corruption of encrypted index data elevates the concern beyond a simple denial-of-service: recovery may require re-encryption or collection rebuild, extending impact duration. Organizations using MongoDB Queryable Encryption in production environments with broad readWrite access should treat this as a high-priority patch, while those not using Queryable Encryption face no exposure to this specific code path.

Exploit ScenarioDerived

An attacker who has obtained readWrite credentials - through credential theft, insider access, or lateral movement following initial compromise - identifies a collection protected by Queryable Encryption and submits a specially crafted maintenance operation request (such as a compaction command) with malformed parameters that trigger the integer underflow. The server either crashes immediately or enters an excessive internal write loop, causing resource exhaustion; in either case, encrypted index metadata for the targeted collection is corrupted, requiring manual intervention and potentially data re-encryption to restore full service.

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 8.0.x and 8.3.x fail to validate request parameters against the collection's encrypted field configuration due to an integer underflow (CWE-191), allowing an authenticated user with readWrite privileges to crash the server or induce excessive internal writes. The practical impact is availability loss and integrity degradation through corruption of encrypted index data - a particularly damaging outcome given that encrypted index corruption may be non-trivially recoverable. No public exploit code has been identified at time of analysis, and the vulnerability is not listed in the CISA KEV catalog.

RemediationAI

The primary fix is to upgrade to MongoDB Server 8.0.29 or 8.3.8, the patched releases identified in EUVD-2026-56864. Details of the upstream fix are tracked at https://jira.mongodb.org/browse/SERVER-130628. If immediate upgrade is not possible, a viable compensating control is to restrict readWrite role grants on any collection configured with Queryable Encryption to only trusted, operationally necessary accounts, and to audit existing role assignments for excessive privilege; this reduces the population of accounts that could submit the malformed maintenance request. Disabling Queryable Encryption on collections where it is not strictly required removes exposure entirely, though this has significant cryptographic and operational trade-offs and should not be done without assessment. Network-layer controls (restricting who can reach the MongoDB port) reduce exposure but do not eliminate it for insider-threat scenarios.

Affected VersionsENISA

MongoDB Server 8.0 <8.0.29
MongoDB Server 8.3.0 <8.3.8

Affected Packages

euvd mongodb_server fix: 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's Queryable Encryption (QE) feature allows data to be encrypted client-side with the encrypted fields described in a collection-level EncryptedFieldConfig. Maintenance operations - such as compaction - interact with these configurations to manage encrypted indexes. CWE-191 (Integer Underflow) indicates that the affected code path performs arithmetic on a parameter without adequate bounds checking, likely producing a wrapped or negative value that bypasses downstream validation and drives the server into an unexpected state: either an assertion failure causing process termination or an unbounded write loop causing resource exhaustion. The CPE cpe:2.3:a:mongodb:mongodb_server:*:*:*:*:*:*:*:* confirms this is the MongoDB Server application itself, not a driver or client library. Affected major lines are 8.0 (before 8.0.29) and 8.3.0 (before 8.3.8).

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:L/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.1 HIGH

readWrite authentication is explicitly required (PR:L); network delivery via standard MongoDB protocol (AV:N); availability impact is high due to server crash; integrity limited to encrypted index corruption (I:L); no confidentiality impact.

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

Lifecycle Timeline

2
Patch available
Aug 11, 2026 - 19:04 EUVD
CVE Published
Aug 11, 2026 - 18:35 cve.org
HIGH 7.1

DescriptionCVE.org

MongoDB Server's handling of a Queryable Encryption maintenance operation did not properly validate certain request parameters against the collection's encrypted field configuration before use. An authenticated user with readWrite privileges could submit a specially formed request that leads to a server crash or excessive internal writes, resulting in resource exhaustion and corruption of encrypted index data.

Executive ViewAI

Why It Matters

MongoDB Server versions 8.0 and 8.3 contain a flaw in encrypted data operations that allows authenticated database users to crash the server or corrupt encrypted indexes, creating availability and integrity risks. No public exploit has been identified at time of analysis, but authenticated users with readWrite access can abuse this vulnerability to cause operational disruption and data corruption. Organizations should prioritize patch deployment to eliminate this authenticated attack surface.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
High
widely deployed enterprise and cloud NoSQL database across industries
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

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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