Skip to main content

MongoDB Server CVE-2026-18701

| EUVDEUVD-2026-56912 HIGH
Access of Resource Using Incompatible Type (Type Confusion) (CWE-843)
2026-08-11 mongodb GHSA-m7wq-2pg8-h638
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 MongoDB read-level credentials
  2. Delivery
    Connect to MongoDB over network (port 27017)
  3. Exploit
    Craft BSON query filter with type-mismatched values
  4. Execution
    Submit filter via query command
  5. Persist
    Trigger type confusion in query subsystem
  6. Impact
    MongoDB server process crashes (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Type safety enforcement
MITRE ATT&CK

1 technique across 1 tactic: Execution

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

Exploitation Conditions

Exploitation requires valid MongoDB credentials with at minimum read privileges on any database accessible on the target server - unauthenticated attackers cannot trigger this flaw, as confirmed by PR:L in the CVSS 4.0 vector. The attacker must be able to reach the MongoDB server over the network (AV:N) and have the ability to issue arbitrary query commands, including submitting custom filter documents. No non-default configuration, specific feature flag, or elevated privilege beyond basic read access is implied by the description. Limiting factors are: (1) PR:L - authenticated access is mandatory, so hardened credential management directly reduces exposure; (2) the impact is restricted to availability only, with no confidentiality or integrity consequence; and (3) scope is contained to the MongoDB server process (SC:N/SI:N/SA:N), meaning a crash does not pivot to other systems. Environments that enforce strict IP allowlisting on the MongoDB port and maintain tight control over database user provisioning face materially reduced risk.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N) characterizes this as network-reachable, low-complexity exploitation by any authenticated low-privileged user with no additional prerequisites - a realistic threat in any multi-user or application-connected MongoDB deployment. The impact is confined entirely to availability (VA:H); confidentiality and integrity are unaffected (VC:N/VI:N), meaning there is no data exfiltration risk. The 7.1 score reflects PR:L as the primary mitigating factor separating this from a critical-tier flaw. No EPSS score was provided in the available data, and the vulnerability is not listed in the CISA KEV catalog, suggesting no confirmed widespread exploitation at time of analysis. However, the low exploitation bar - any read-privileged user can trigger it with a crafted query - makes this a higher operational priority than its score alone might suggest for environments exposing MongoDB to multiple users or with externally reachable endpoints. Absence of EPSS data and a fixed version number in the references are notable gaps that limit full risk quantification.

Exploit ScenarioDerived

An attacker who has obtained valid MongoDB read-level credentials - through phishing, credential stuffing against an exposed endpoint, or a compromised application service account - connects to the MongoDB server over the network and submits a specially crafted query filter containing type-mismatched BSON values designed to trigger the type confusion in the query subsystem. The server process crashes immediately upon evaluating the malformed filter, causing a complete database outage. No public exploit code is known at time of analysis, but the low attack complexity and clear description of the trigger mechanism suggest independent reproduction is feasible.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 subsystem contains a type confusion flaw (CWE-843) that allows any authenticated user holding read privileges to crash the server process by submitting a specially formed query filter, resulting in a denial of service. The CVSS 4.0 score of 7.1 with VA:H and PR:L reflects the realistic threat: any legitimate database user - including service accounts or compromised low-privilege credentials - can take the database offline with no attack complexity. No public exploit code or CISA KEV listing has been identified at time of analysis, though the low exploitation bar warrants prompt patching once available.

RemediationAI

No vendor-released patched version has been confirmed in the available data at time of analysis; the fix status should be monitored via MongoDB JIRA ticket SERVER-130111 at https://jira.mongodb.org/browse/SERVER-130111. Until a patch is available, the most effective compensating control is to enforce the principle of least privilege: audit all database users and service accounts and revoke read access from any account that does not operationally require it, as exploitation is gated on PR:L authentication. Additionally, restrict network access to MongoDB's default port (27017) at the firewall or network layer to limit the pool of clients that can submit queries - note this may impact legitimate application connectivity and requires coordination with application teams. Enabling MongoDB's built-in auditing to log and alert on anomalous query patterns (particularly deeply nested or malformed BSON filter documents) can aid detection without service disruption. Avoid exposing MongoDB directly to untrusted networks regardless of this specific vulnerability.

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

CWE-843 ('Access of Resource Using Incompatible Type,' commonly called type confusion) describes a root cause where software accesses a memory resource using a type incompatible with how it was originally allocated or stored. In MongoDB Server's query subsystem, the flaw manifests when the query planner or filter evaluation engine processes a specially crafted BSON filter document containing type-mismatched field values, triggering memory corruption and an unhandled server crash. The 'Memory Corruption' tag corroborates this mechanism. The CPE string cpe:2.3:a:mongodb:mongodb_server:*:*:*:*:*:*:*:* uses a full wildcard on the version field, indicating no version bounds have been specified in available data - potentially affecting the entire MongoDB Server product line. MongoDB is a document-oriented NoSQL database widely used in enterprise and cloud deployments, making reach significant.

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

PR:L reflects mandatory authenticated read access; A:H captures complete server process termination; S:U and C:N/I:N because crash is self-contained with no data exposure.

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

DescriptionCVE.org

An issue in MongoDB Server's query subsystem could allow an authenticated user with read privileges to cause the server process to terminate unexpectedly by submitting a specially formed query filter. This could result in a denial of service.

Executive ViewAI

Why It Matters

MongoDB Server contains a vulnerability allowing any authenticated database user to crash the server, potentially taking mission-critical database services offline. The low complexity of exploitation means that compromised service accounts or legitimate users pose an immediate availability risk to any organization running affected versions. Urgent mitigation is required to restrict database access and prepare for patching once available.

Business Impact: High
Compensating Controls

Restrict all database user accounts to minimum-required read privileges; implement network-level access controls limiting MongoDB connections to trusted hosts only; enable query execution monitoring and alert on unusual patterns; enforce multi-factor authentication for administrative database access; maintain continuous database backups with documented recovery procedures; implement automated failover mechanisms if available in your MongoDB deployment topology.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
High
widely deployed NoSQL database across enterprise, SaaS, 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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
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

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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