Description
A security issue was discovered in MongoDB mongos (the sharded cluster router) where an authenticated user with readWrite privileges could crash the mongos process by crafting a specially formed aggregation pipeline. The issue leverages an internal aggregation stage that lacks proper authorization checks despite being intended for internal use, allowing a subsequent stage to be forced to execute on the router under conditions it was not designed to handle. This results in an unhandled fatal error that causes the mongos process to immediately abort, resulting in denial of service for all clients routed through the affected mongos instance.
Published: 2026-10-13
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via unhandled crash
Action: Immediate Patch
AI Analysis

Impact

A flaw in MongoDB mongos, the sharded cluster router, allows an authenticated user with readWrite privileges to crash the process by submitting a specially crafted aggregation pipeline. The vulnerability arises from an internal aggregation stage that does not perform the expected authorization checks, letting a downstream stage be forced to execute under conditions for which it was not designed. This results in an unhandled fatal error that terminates mongos, causing a denial of service for all clients routed through the affected instance.

Affected Systems

MongoDB Server is affected; all current versions may be vulnerable until a patch has been applied. No specific version range is disclosed in the CNA data.

Risk and Exploitability

The CVSS score of 7.1 indicates a high severity denial‑of‑service risk. EPSS data is not available and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an authenticated account with readWrite privileges that can submit an aggregation request. The attack can be carried out without privilege escalation by targeting the router directly, but it depends on access to the mongos service. Once triggered, the mongos process aborts, immediately disrupting any applications that rely on it for routing client requests. The impact is contained to the affected router, but it can cascade to all services that depend on it if no failover or redundancy is in place.

Generated by OpenCVE AI on October 13, 2026 at 19:48 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest MongoDB Server update that addresses SERVER-130431.
  • Restrict readWrite privileges on mongos to trusted users and administrators only.
  • Monitor mongos logs for abrupt termination events and configure alerting for service restarts to detect exploitation attempts.

Generated by OpenCVE AI on October 13, 2026 at 19:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 13 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-770
Metrics ssvc

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


Tue, 13 Oct 2026 17:00:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb mongodb Server
Vendors & Products Mongodb
Mongodb mongodb Server

Tue, 13 Oct 2026 16:45:00 +0000

Type Values Removed Values Added
Description Missing limits on resource use in the match expression evaluator of MongoDB Server can cause the server to consume excessive memory. Internal schema validation operators that are meant only for server use are accepted in user-supplied query filters. When these operators are nested and applied to documents that contain arrays, the server evaluates every combination of array elements without a sufficient limit on the resources used. This can cause memory use to grow until the mongod process runs out of memory and terminates. The behavior can occur when an authenticated user with read-only privileges runs an aggregation query that nests these operators. A security issue was discovered in MongoDB mongos (the sharded cluster router) where an authenticated user with readWrite privileges could crash the mongos process by crafting a specially formed aggregation pipeline. The issue leverages an internal aggregation stage that lacks proper authorization checks despite being intended for internal use, allowing a subsequent stage to be forced to execute on the router under conditions it was not designed to handle. This results in an unhandled fatal error that causes the mongos process to immediately abort, resulting in denial of service for all clients routed through the affected mongos instance.
Title MongoDB Nested `$_internalSchemaAllElemMatchFromIndex` Cross-Product MatchExpression OOM Missing Authorization Check on Internal Aggregation Stage in MongoDB Server mongos Leads to Denial of Service
Weaknesses CWE-617

Tue, 13 Oct 2026 15:45:00 +0000

Type Values Removed Values Added
Description Missing limits on resource use in the match expression evaluator of MongoDB Server can cause the server to consume excessive memory. Internal schema validation operators that are meant only for server use are accepted in user-supplied query filters. When these operators are nested and applied to documents that contain arrays, the server evaluates every combination of array elements without a sufficient limit on the resources used. This can cause memory use to grow until the mongod process runs out of memory and terminates. The behavior can occur when an authenticated user with read-only privileges runs an aggregation query that nests these operators.
Title MongoDB Nested `$_internalSchemaAllElemMatchFromIndex` Cross-Product MatchExpression OOM
Weaknesses CWE-770
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'}


Subscriptions

Mongodb Mongodb Server
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-10-13T16:31:19.871Z

Reserved: 2026-09-22T22:29:05.501Z

Link: CVE-2026-96299

cve-icon Vulnrichment

Updated: 2026-10-13T16:15:34.989Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-13T16:17:24.323

Modified: 2026-10-15T20:38:04.303

Link: CVE-2026-96299

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T20:00:16Z

Weaknesses