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

High 7.1 Published Updated

An authenticated user with readWrite privileges can crash the MongoDB mongos router via a crafted aggregation pipeline, causing denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-104005?

CVE-2026-104005 is a high-severity missing authorization vulnerability in MongoDB Server, published on 13 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-617

Which versions are affected by CVE-2026-104005?

How do I fix CVE-2026-104005?

No fix has been published for CVE-2026-104005 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-104005 being exploited?

There is no known exploitation of CVE-2026-104005 in the wild and no public exploit code.

Sources

Also known as GHSA-56w2-wpqh-pq52, UBUNTU-CVE-2026-104005.

Is CVE-2026-104005 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free