---
id: CVE-2026-104005
title: >-
  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
summary: >-
  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 …
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-617
  - CWE-863
published: '2026-10-13'
updated: '2026-10-13'
sourceUpdated: '2026-10-13T17:17:15.380'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-104005'
references:
  - url: 'https://jira.mongodb.org/browse/SERVER-131411'
    label: cna@mongodb.com
tags:
  - nvd
ingestedAt: '2026-10-13T16:35:46.738Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
