Skip to main content

MongoDB Server CVE-2026-9747

| EUVDEUVD-2026-35863 HIGH
Reachable Assertion (CWE-617)
2026-06-09 mongodb GHSA-43fh-5xpm-3q9m
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 low-privilege MongoDB credentials
  2. Delivery
    Reach mongod over network
  3. Exploit
    Craft aggregation with fromRouter:true and runtimeConstants.userRoles
  4. Execution
    Submit command to server
  5. Persist
    Trigger reachable assertion in aggregation handler
  6. Impact
    Crash mongod process and deny service

Vulnerability Assessment

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

The attacker must hold valid MongoDB credentials with at least minimal privileges to run aggregation commands (CVSS PR:L) and must be able to reach the mongod listener over the network (AV:N), with no user interaction required (UI:N). The attack requires crafting an aggregation request that simultaneously sets the internal fromRouter:true flag and supplies runtimeConstants.userRoles - both are normally driver/mongos-injected fields, so the client must construct the BSON manually rather than using high-level driver helpers. Exploitation is limited to availability impact; it does not bypass authentication, does not work against an instance the attacker cannot authenticate to, and yields no data access.

Impact

CVSS 4.0 scores this 7.1 with AV:N/AC:L/PR:L/UI:N and VA:H - a low-privilege authenticated remote attacker with network reach to the database can reliably crash the server, but there is no confidentiality or integrity impact. EPSS is not provided and this CVE is not listed in CISA KEV. SSVC signals are not available. Realistic risk is moderate: the bug requires authenticated access (PR:L), which limits exposure for properly network-segmented clusters, but in environments where many application users hold even minimal database roles, any one of them can take the cluster offline. There is no public exploit identified at time of analysis, though the publicly accessible JIRA ticket SERVER-123918 reduces the research barrier. This is a real availability concern for multi-tenant or internet-exposed deployments, not a high-priority RCE.

Exploit ScenarioDerived

An attacker who has obtained any low-privileged MongoDB credential - for example via a leaked application connection string or an insider account - connects to the mongod instance and issues an aggregation command that injects fromRouter:true alongside runtimeConstants.userRoles. The server hits the reachable assertion and the mongod process crashes, taking the node (and, if repeated against each replica, the replica set) offline until restart. No public exploit identified at time of analysis, but the trigger fields are documented in the linked JIRA, making weaponization straightforward.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv3 – Jun 09, 2026

Denial of service in MongoDB Server allows authenticated remote attackers to crash the database process by submitting aggregation pipelines that combine the internal fromRouter:true flag with runtimeConstants.userRoles. No public exploit identified at time of analysis, but the bug is tracked in MongoDB's public JIRA (SERVER-123918), which makes the trigger conditions discoverable. Impact is limited to availability (VA:H) with no data exposure or integrity compromise.

Earlier versions of this analysis (2)
v2 Jun 09, 2026 - 23:34 cvss changed CVSS 7.1

Denial of service in MongoDB Server allows authenticated remote users to crash the database engine by issuing aggregation queries that combine the fromRouter:true flag with the runtimeConstants.userRoles parameter. The flaw is tracked by the vendor as SERVER-123918 and carries a CVSS 4.0 base score of 7.1; no public exploit identified at time of analysis and the issue is not listed in CISA KEV.

v1 Jun 09, 2026 - 22:50 CVSS 6.5

MongoDB Server crashes when aggregation pipeline commands include both the fromRouter:true flag and runtimeConstants.userRoles, triggering an internal reachable assertion failure (CWE-617) that terminates the server process. Authenticated remote attackers with low-privilege credentials can exploit this to cause a complete denial of service, disrupting availability for all connected clients. No public exploit code has been identified and this vulnerability is not listed in CISA KEV at time of analysis.

RemediationAI

Upstream fix is tracked in MongoDB JIRA SERVER-123918 at https://jira.mongodb.org/browse/SERVER-123918; released patched version not independently confirmed from the supplied references, so consult the linked ticket and the MongoDB security advisories page for the exact build numbers per release train and upgrade affected mongod and mongos instances accordingly. As a compensating control until patched, audit and tighten role-based access so that application accounts only hold roles strictly required (avoid granting broad cluster-wide aggregation privileges to user-facing services), and restrict network reachability of mongod to trusted application tiers via firewall, VPC, or bindIp configuration - accepting that this only mitigates exposure from untrusted networks, not from compromised application credentials. Monitoring mongod for unexpected restarts and enabling crash-loop alerts will help detect attempted exploitation; there is no documented configuration toggle that disables fromRouter or runtimeConstants handling without breaking sharded query execution, so workarounds beyond access restriction are limited.

Affected VersionsENISA

MongoDB Server 8.2.0 <8.2.10
MongoDB Server 8.0.0 <8.0.24
MongoDB Server 8.3.0 <8.3.3
MongoDB Server 7.0.0 <7.0.35

Affected Packages

euvd mongodb_server fix: 7.0.35, 8.0.24, 8.2.10, 8.3.3

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 Server is the document-database engine that executes the aggregation framework - a pipeline-based query language. The fromRouter:true field is an internal marker normally set by mongos routers when forwarding aggregations to shards, while runtimeConstants.userRoles is an internal context variable that injects the authenticated user's roles into the pipeline. CWE-617 (Reachable Assertion) indicates the server triggers a defensive assertion when these two internal-state inputs are presented together by a client, causing the mongod process to abort rather than handle the unexpected combination safely. The CPE indicates all versions of mongodb:mongodb_server are listed as affected pending advisory clarification.

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

Primary rating from Vendor (mongodb) · only source for this CVE.

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

5
Patch available
Jun 10, 2026 - 02:01 EUVD
Analysis Updated
Jun 09, 2026 - 23:34 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 09, 2026 - 23:34 vuln.today
v2 - CVSS changed
Severity Changed
Jun 09, 2026 - 23:22 NVD
MEDIUM HIGH
CVSS changed
Jun 09, 2026 - 23:22 NVD
6.5 (MEDIUM) 7.1 (HIGH)

DescriptionCVE.org

Adding fromRouter:true and runtimeConstants.userRoles could cause aggregations to crash mongodb server.

Executive ViewAI

Why It Matters

MongoDB Server is vulnerable to denial-of-service attacks by authenticated users, allowing attackers to crash database instances and disrupt service availability. Organizations running MongoDB in production should assess exposure and implement access controls immediately, as no vendor patch is currently available. This represents a significant uptime risk for any business dependent on database availability.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network and authentication access to MongoDB to trusted sources only; (2) Implement detailed logging and alerting for aggregation pipeline submissions; (3) Minimize the number of authenticated database users with aggregation execution privileges; (4) Establish incident response procedures for rapid MongoDB instance restart or failover; (5) Monitor MongoDB JIRA (SERVER-123918) for patch availability and deploy immediately upon release.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Data Quality
5 sources
Confidence: Medium

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.0%
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

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