CVE Catalog

CVE-2026-104005

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Summary

In MongoDB mongos, an authenticated user with readWrite privileges can crash the mongos process by crafting a specially formed aggregation pipeline. The issue leverages an internal aggregation stage lacking proper authorization checks, allowing a subsequent stage to execute on the router under unintended conditions, resulting in an unhandled fatal error that immediately aborts mongos. This causes denial of service for all clients routed through the affected instance.

Risk Assessment

An attacker with readWrite privileges can crash mongos, causing unavailability of the sharded cluster for all clients, posing a serious threat to business continuity.

Recommendation

Update MongoDB to a version containing the fix, and consider restricting user privileges and monitoring for unusual aggregation pipelines.

Other vulnerabilities in MongoDB

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS