Skip to main content

MongoDB Server CVE-2026-18699

| EUVDEUVD-2026-56880 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-08-11 mongodb GHSA-q3g2-c227-xmvh
6.0
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-privilege MongoDB read credentials
  2. Delivery
    Identify collection with text index configured
  3. Exploit
    Craft malformed query targeting text index path
  4. Execution
    Submit query to mongod over network
  5. Persist
    Trigger null pointer dereference in query planner
  6. Impact
    mongod process terminates, all connected clients disrupted

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires three concrete conditions: (1) a valid MongoDB account with at minimum read-level privileges (PR:L) on the target database - unauthenticated access is insufficient; (2) the targeted collection must have a text index explicitly configured, which is a non-default deployment choice requiring deliberate administrator action; and (3) the attacker must be able to submit arbitrary queries to that collection. The CVSS 4.0 AT:P metric formally encodes the text index prerequisite as an attack requirement beyond the attacker's control. Exploitation is explicitly limited to availability - no data exfiltration, integrity violation, or privilege escalation is possible. Deployments that do not use MongoDB text indexes at all are not affected, regardless of user privilege levels.

Impact

The CVSS 4.0 score of 6.0 with vector AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N accurately captures the threat profile: network-reachable, low-privilege, but gated by a specific attack requirement (AT:P) - namely, a text index must be present on the targeted collection. The high availability impact (VA:H) reflects a full server crash, but there is no confidentiality or integrity impact. SSVC corroborates the moderate priority: exploitation status is none, the attack is not automatable (the text index prerequisite is a real barrier), and technical impact is partial. No CISA KEV listing and no public POC exist at time of analysis. The principal real-world risk lies in multi-tenant deployments, database-as-a-service platforms, or applications that grant read access to partially trusted users on collections with text indexes enabled - in those scenarios a single malicious query brings down the entire server instance and all connected clients. Deployments where all database users are fully trusted, or where text indexes are not used, face negligible risk.

Exploit ScenarioDerived

An authenticated MongoDB user - even one holding only a default read role granted to an application service account or end-user - submits a specially crafted query against a collection that has a text index defined. The malformed query triggers a null pointer dereference in the query planner, causing the mongod process to terminate unexpectedly and disconnecting all clients with in-flight operations lost. No public proof-of-concept exploit has been identified at time of analysis.

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

MongoDB Server's query planner contains a null pointer dereference (CWE-476) that enables any authenticated user holding read-level privileges to crash the server process by submitting a specially crafted query against a collection with a text index. Affected branches span MongoDB 7.0.x, 8.0.x, and 8.3.x, with fixed releases available in 7.0.40, 8.0.29, and 8.3.8 respectively. No public exploit or active exploitation is identified; SSVC rates exploitation as none and the attack is not automatable, though the availability impact is total for the targeted server instance.

RemediationAI

Upgrade MongoDB Server to the patched release corresponding to your deployed branch: 8.3.8, 8.0.29, or 7.0.40, all of which are confirmed available from MongoDB per the vendor advisory and Jira ticket https://jira.mongodb.org/browse/SERVER-130266. If an immediate upgrade cannot be performed, the most targeted compensating control is to audit and temporarily drop text indexes on collections accessible to low-privilege or untrusted users using db.collection.dropIndex() - this eliminates the required precondition for exploitation but disables full-text search on those collections until reinstated post-patch. An alternative is to tighten access controls so that only fully trusted application accounts hold read privileges on text-indexed collections, reducing the risk surface without disrupting search functionality, though this does not eliminate the vulnerability. No other workarounds have been confirmed by the vendor.

Affected VersionsENISA

MongoDB Server 8.3.0 <8.3.8
MongoDB Server 8.0 <8.0.29
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

The vulnerability originates in MongoDB Server's internal query planner, the subsystem responsible for parsing, optimizing, and dispatching query execution plans. CWE-476 (Null Pointer Dereference) indicates that when the planner processes a malformed query submitted against a collection that carries a text index, it follows a code path that dereferences a null pointer - causing an unhandled fault and terminating the mongod process. Text indexes in MongoDB are purpose-built structures for full-text search; they involve a distinct query processing pipeline that appears to contain an unguarded pointer dereference in this path. The affected CPE is cpe:2.3:a:mongodb:mongodb_server covering the 7.0, 8.0, and 8.3 version branches. MongoDB Jira issue SERVER-130266 is the upstream tracking reference.

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

AC:H reflects the text index prerequisite as a condition beyond attacker control; PR:L captures the required read authentication; no confidentiality or integrity impact applies.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
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:46 cve.org
MEDIUM 6.0

DescriptionCVE.org

An issue in MongoDB Server's query planner could allow an authenticated user with read-level privileges to cause the server process to terminate unexpectedly by submitting a specially formed query against a collection with a text index. This could result in a denial of service, affecting connected clients and in-flight operations.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
High
widely deployed NoSQL database across enterprise and cloud environments
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.3%
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

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

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

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