CVE-2026-13057 Missing authorization in MongoDB Server

Medium 6.0 Published Updated

Authenticated users can bypass access controls in sharded MongoDB Atlas Search to read unauthorized collection data via crafted aggregation stages.

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

What is CVE-2026-13057?

CVE-2026-13057 is a medium-severity missing authorization vulnerability in Mongodb Mongodb, published on 22 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An issue in the server’s Atlas Search integration allows an authenticated user to bypass per-user access controls.

In sharded topologies, the $search and $searchMeta aggregation stages use internal routing that is normally populated only by the trusted router during sharded search planning. Due to insufficient input validation, an authenticated client can supply these fields directly.

Weakness: CWE-20

Which versions are affected by CVE-2026-13057?

1 open source package ship an affected version, including mongodb. It affects 1 product.

PackageAffectedFixed in
mongodb BitnamiFrom 8.0.08.0.28, 8.2.12, 8.3.7

Products include Mongodb Mongodb.

How do I fix CVE-2026-13057?

Upgrade mongodb to a fixed version for your release line: 8.0.28, 8.2.12 or 8.3.7.

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

Is CVE-2026-13057 being exploited?

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

All Mongodb Mongodb vulnerabilities

Sources

Also known as BIT-mongodb-2026-13057, GHSA-6cv6-595x-vg7h, MINI-3v52-f6vr-f446, MINI-jmx5-mh77-j74g, MINI-mghp-659h-fwjv, UBUNTU-CVE-2026-13057.

Is CVE-2026-13057 in your software?

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

Check your SBOMs for free