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

Published Oct 13, 2026
·
Updated

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.

Other sources

Incorrect authorization in the write routing component of the MongoDB Server sharded cluster router can cause bulk write operations to skip authorization checks for the target namespace. An authenticated user with write privileges on a regular collection who submits a bulk write that targets an internal system namespace may have the operation accepted by the router even though they are not authorized to write to that namespace. The resulting impact depends on the system namespace targeted.

— MITRE

Affected Software

1 affected component
MongoDB MongoDB Server

Event History

Oct 13, 2026
CVE Published
via MITRE·03:38 PM
Data Sourced
via MITRE·03:38 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

The issue is in the write routing component of a MongoDB Server sharded cluster router. The provided information does not indicate that non-sharded deployments are affected.

2

What access does an attacker need?

An attacker must be authenticated and have write privileges on a regular collection. They must submit a bulk write targeting an internal system namespace.

3

What is the potential impact?

The router may accept a write to an internal system namespace without enforcing authorization for that namespace. The resulting impact depends on which system namespace is targeted.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203