CVE-2026-104005
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.
How to fix
- MongoDB MongoDB Server8.3.13, 9.0.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MongoDB MongoDB Server | 8.3.0 ≤ v < 8.3.13, 9.0 ≤ v < 9.0.4 | 8.3.13, 9.0.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.