CVE-2026-9747

Crafted cross-shard merge aggregation crashes MongoDB Server

Published Jun 9, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
Adding fromRouter:true and runtimeConstants.userRoles could cause aggregations to crash mongodb server.

Analysis

AI-generated

Technical impact

The vulnerability allows attackers to cause MongoDB Server to crash by submitting a specially crafted aggregation request that includes fromRouter:true and runtimeConstants.userRoles. This results in a server crash, leading to denial of service for all applications using that instance. The flaw is due to an improper handling of certain aggregation parameters (CWE‑617).

Affected Systems

The affected product is MongoDB Server. No specific version numbers are disclosed in the advisory. All deployments that could run arbitrary aggregation commands are potentially impacted.

Risk and Exploitability

The CVSS score of 7.1 indicates a high severity. The EPSS score is not available, so exploitation likelihood cannot be quantified, and the vulnerability is not currently listed in the CISA KEV catalog. Attackers would need network access to submit the malicious aggregation request, most likely over the normal mongod port. Once executed, the server crashes, causing downtime until a restart.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest MongoDB Server release that contains the fix for SERVER‑123918.
  • Restrict aggregation command execution to users with explicit privileges, such as by configuring role‑based access controls and removing the default ability to set fromRouter or runtimeConstants.
  • Deploy network segmentation or firewall rules to limit external hosts from reaching the mongod port, and enable monitoring to alert on unexpected process restarts.

Generated by OpenCVE AI on June 10, 2026 at 00:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Mongodb mongodb
CPEs cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*
Vendors & Products Mongodb mongodb
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb mongodb Server
Vendors & Products Mongodb
Mongodb mongodb Server
Type Values Removed Values Added
Description Adding fromRouter:true and runtimeConstants.userRoles could cause aggregations to crash mongodb server.
Title Crafted cross-shard merge aggregation crashes MongoDB Server
Weaknesses CWE-617
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 7.1, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mongodb
Published
Updated
Jun 10, 2026, 1:20 PM
Reserved
May 27, 2026, 5:46 PM
Status
Analyzed
Published
Jun 9, 2026, 11:17 PM
Modified
Jul 23, 2026, 9:10 AM