Skip to main content

MongoDB Server CVE-2026-18697

| EUVDEUVD-2026-56910 HIGH
Reachable Assertion (CWE-617)
2026-08-11 mongodb GHSA-wxp5-7rcf-9m3q
8.7
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Reach mongos TCP port 27017
  2. Delivery
    Craft malformed aggregation pipeline
  3. Exploit
    Submit unauthenticated aggregation command
  4. Execution
    Trigger reachable assertion in framework
  5. Persist
    mongos process aborts
  6. Impact
    Client connections severed

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V16 - Security Logging and Error Handling Reachable assertion handling
Exploitation Conditions

The vulnerability requires that the target deployment uses a sharded MongoDB cluster with at least one mongos router process exposed on the network - standalone mongod instances and non-sharded replica sets are not affected. No authentication credentials are required (PR:N confirmed by CVSS 4.0 vector). The attacker must be able to reach the mongos TCP port (default 27017) and submit an aggregation command - no prior foothold or account is needed. Exploitation is limited to deployments where mongos is network-accessible, either directly or via an application tier that forwards raw aggregation commands. Deployments that enforce network segmentation keeping mongos off public networks are partially protected, but internal attackers or compromised application servers can still trigger the crash.

Impact

The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N/VA:H) accurately reflects the real-world risk profile: the attack is trivially automatable - no authentication, no complex preconditions, no user interaction - and the impact is reliable process termination. The key limiting factor is deployment topology: only sharded MongoDB clusters expose a mongos process, meaning standalone deployments and replica sets without sharding are not directly vulnerable. This narrows the exposed population but does not substantially reduce risk for organizations running sharded clusters, which tend to be high-traffic, production-critical deployments. No EPSS score is available in the provided data. The absence of KEV listing and public POC code suggests exploitation is not yet widespread, but the low attack complexity (AC:L, AT:N) means that once technical details become public, replication would be straightforward. No conflicting signals between CVSS vector and description - both consistently indicate remote, unauthenticated, network-level DoS with no confidentiality or integrity impact.

Exploit ScenarioDerived

An external or internal attacker with network access to the mongos listener port constructs a malformed aggregation pipeline document designed to trigger the assertion failure in the aggregation framework. The attacker submits this command without authenticating, the mongos process hits the reachable assertion and aborts, severing all active client connections routed through it. In a sharded cluster without redundant mongos instances, this results in complete database unavailability until the process is restarted; in a multi-mongos deployment, only the targeted instance is disrupted but load shifts to remaining routers which may themselves become targets.

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

Unauthenticated denial of service in MongoDB Server's aggregation framework allows remote attackers to crash the mongos router process by submitting a specially crafted aggregation command. The root cause is CWE-617 (Reachable Assertion), where attacker-controlled input triggers an internal assertion failure causing abnormal process termination. This affects sharded cluster deployments specifically - when mongos crashes, all client connections routed through that instance are severed, effectively taking down the database routing layer until the process is restarted. No public exploit code has been identified at time of analysis, and CISA KEV listing is absent.

RemediationAI

The primary remediation is to upgrade MongoDB Server to a patched version once released by MongoDB; however, no specific fix version is confirmed from available data - monitor the MongoDB release notes and the JIRA ticket at https://jira.mongodb.org/browse/SERVER-130110 for the target patch version. Until a patch is applied, consider restricting network access to mongos listener ports (default TCP 27017) using firewall rules or network ACLs so that only trusted application servers and database clients can submit aggregation commands - this trades accessibility for attack surface reduction. If your deployment uses MongoDB Atlas (managed service), MongoDB typically applies patches transparently; verify your Atlas cluster version against the advisory. For self-managed deployments, enabling MongoDB authentication and restricting anonymous access (if not already enforced) would not eliminate this vulnerability given the PR:N vector, but would add a layer of access control. Note that restarting a crashed mongos process restores service immediately; consider adding process supervision (systemd restart policies or Kubernetes liveness probes) as a resilience measure to reduce downtime from repeated triggering.

Affected VersionsENISA

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

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's aggregation framework processes pipeline commands (e.g., $match, $group, $lookup) through the mongos router in sharded cluster topologies. CWE-617 (Reachable Assertion) describes a code path where an assertion - typically a developer-inserted invariant check - can be triggered by external input rather than being reachable only under controlled internal conditions. When the assertion fails, the C runtime calls abort(), terminating the mongos process immediately. This is distinct from a handled error: the process does not gracefully reject the command but instead crashes outright. The affected CPE (cpe:2.3:a:mongodb:mongodb_server:*:*:*:*:*:*:*:*) uses a wildcard version range, indicating the issue spans multiple MongoDB Server releases. The JIRA ticket SERVER-130110 filed by MongoDB's own engineering team is the primary reference, suggesting this was internally discovered and responsibly disclosed.

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

Network-reachable, no auth or complexity required; impact is solely availability loss (mongos crash); scope unchanged as other systems are not directly compromised.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/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
None
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 8.7

DescriptionCVE.org

An issue in MongoDB Server's aggregation framework could allow an unauthenticated party to cause a mongos (router) process to terminate unexpectedly by submitting a specially formed aggregation command. This could result in a denial of service, disrupting client connections routed through the affected mongos instance.

Executive ViewAI

Why It Matters

MongoDB Server's sharded cluster deployments are vulnerable to an unauthenticated denial-of-service attack in the aggregation framework that crashes mongos routers and severs all client connections. Organizations relying on MongoDB clusters face potential service outages affecting application availability and database access. No vendor patch is currently available, requiring immediate network-level mitigations.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: (1) Restrict network access to mongos routers via firewall rules, limiting aggregation commands to trusted application servers only; (2) Deploy a MongoDB proxy or request inspection layer capable of detecting and blocking specially crafted aggregation payloads; (3) Implement automated process monitoring with rapid-restart capabilities for mongos to minimize downtime if exploited; (4) Enable comprehensive logging and alerting for mongos crashes to facilitate rapid incident detection and response.

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
High
widely-deployed NoSQL 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 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
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

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