What’s Vulnerable › Vulnerabilities

CVE-2026-104005: Incorrect authorization in MongoDB Server router for bulk writes to system namespaces

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.

Affected products

How to fix

Upgrade to a fixed version: MongoDB 8.3.13, 9.0.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-104005 or the next vulnerability affects your stack