Skip to main content

MongoDB EUVDEUVD-2026-47788

| CVE-2026-13073 MEDIUM
Reachable Assertion (CWE-617)
2026-07-22 cna@mongodb.com
5.3
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
    Establish network connection to mongod port
  3. Exploit
    Craft aggregation pipeline with specific triggering option combination
  4. Execution
    Submit aggregation command
  5. Persist
    Internal assertion violation terminates mongod process
  6. Impact
    All connected clients lose database access

Vulnerability Assessment

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

Exploitation requires a valid MongoDB account with at minimum read-only privileges - the CVSS vector PR:L confirms authenticated access is mandatory and unauthenticated exploitation is not possible. The attacker must be able to issue aggregation commands, which falls within the scope of standard MongoDB read-only roles. The specific trigger is a combination of aggregation pipeline options that exposes the internal engine selection inconsistency; the precise option set is not disclosed in available data. No non-default configuration of the server is implied as a prerequisite - the CVSS AT:N metric confirms no special server-side attack requirement applies. What limits exploitation: valid credentials are required, blocking anonymous internet-accessible attacks; the target must be network-reachable from the attacker's position. There is no required user interaction and no timing or race condition dependency.

Impact

Real-world risk is moderate overall but significant in environments where read-only MongoDB credentials are granted to semi-trusted users, third-party integrations, or application service accounts. The CVSS 4.0 input rates vulnerable-system availability as low (VA:L, score 5.3), but the description - complete abnormal termination of mongod affecting every connected client - is more consistent with a high availability impact; this discrepancy should be noted when communicating risk to stakeholders. The AC:L and AT:N metrics confirm reliable triggering once credentials are in hand, which is the key risk amplifier: there is no timing window, race condition, or environmental dependency to reduce exploitability. The PR:L barrier meaningfully limits external internet-scale exploitation, since an attacker must first obtain valid MongoDB credentials. However, insiders, compromised application accounts, or attackers who have already pivoted inside the network face no further obstacles. No KEV listing and no public exploit code have been identified at time of analysis; EPSS data was not provided in the input and cannot be assessed.

Exploit ScenarioDerived

An attacker who has obtained valid read-only MongoDB credentials - through credential stuffing, an exposed .env file, or lateral movement from a compromised application server - connects to the target mongod instance and issues a crafted aggregation pipeline command containing the specific option combination that exposes the engine selection inconsistency. The mongod process immediately terminates abnormally, severing all active client connections and rendering the database unavailable to the application until an operator intervenes to restart the service. No public proof-of-concept has been identified at time of analysis, but the low-complexity trigger and standard aggregation API access suggest an attacker with moderate MongoDB knowledge could reproduce the condition independently.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 22, 2026

MongoDB's mongod daemon can be crashed by any authenticated user holding only read-only privileges, dropping database service for every connected client until an operator restarts the process. The root cause is CWE-617 (Reachable Assertion) inside the aggregation framework's engine selection logic - a state the codebase assumed unreachable that a crafted combination of aggregation options can actually trigger. No public exploit code has been identified at time of analysis and no CISA KEV listing exists, but the PR:L attack vector makes this a reliable insider-threat and post-compromise availability weapon against any network-reachable MongoDB deployment.

RemediationAI

Consult MongoDB JIRA SERVER-128512 at https://jira.mongodb.org/browse/SERVER-128512 for the official patch release; upgrade to the fixed version as soon as it is published. No exact fix version is confirmed from available data - do not apply a version number from memory or inference. As a compensating control while awaiting the patch, audit and tighten read-only MongoDB role grants: remove aggregation command permissions from roles that do not strictly require them, noting that this may break reporting or analytics integrations that rely on the aggregation pipeline. Configure mongod under a process supervisor (systemd, Kubernetes liveness probe, or similar) with automatic restart to reduce service downtime if the crash is triggered - this does not prevent exploitation but caps the availability window of disruption. Network access controls restricting which hosts can reach the MongoDB port provide an additional defense layer by limiting the pool of accounts that could be used, at the cost of connectivity flexibility.

Affected VersionsENISA

MongoDB Server 8.0 <8.0.28

Affected Packages

euvd mongodb_server fix: 8.0.28

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 lives in the mongod aggregation pipeline execution layer, specifically in the logic that selects between MongoDB's internal query execution engines (such as the classic engine versus the slot-based execution engine introduced in MongoDB 6+). CWE-617 (Reachable Assertion) describes a code path where the developer placed an assertion - a condition assumed invariant - that user-controlled input can violate. When the assertion fires, the runtime terminates the mongod process rather than returning an error to the client, because assertion failures are treated as unrecoverable internal inconsistencies. The CVSS 4.0 input vector AV:N/AC:L/AT:N/PR:L/UI:N confirms the channel is network-based, complexity is low, and no special attack-side preconditions exist. No CPE strings were provided in the input; exact affected version ranges must be obtained from MongoDB JIRA ticket SERVER-128512.

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

Network-accessible aggregation command requires only low-privilege credentials; complete process termination affecting all clients warrants A:H with no confidentiality or integrity impact.

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
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Jul 22, 2026 - 21:03 EUVD
CVE Published
Jul 22, 2026 - 20:16 cve.org
MEDIUM 5.3

DescriptionCVE.org

An authenticated user with read-only privileges can cause the mongod process to terminate abnormally by issuing a crafted aggregation command, resulting in denial of service for all connected clients until the process is restarted. The issue stems from an internal engine selection inconsistency triggered by a specific combination of aggregation options.

Threat Intelligence Overview

EPSS Score
0.4%
Top 72% exploitable
Prevalence
High
widely deployed enterprise NoSQL database across cloud, SaaS, and on-premises 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.4%
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

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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-137498 CRITICAL
9.9 Nov 26

Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or

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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy