CVE-2026-82060 Code injection in MongoDB Server

Low 2.3 Published Updated

Authenticated users can inject query operators via shard keys, causing incorrect data retrieval or service disruption in sharded MongoDB deployments.

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-82060?

CVE-2026-82060 is a low-severity code injection vulnerability in Mongodb Mongodb, published on 8 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

In MongoDB, insufficient validation of shard key values during document insertion allowed authenticated users to store documents with specially crafted, operator-shaped objects as shard key values in sharded collections. When change stream events for such documents were processed with the updateLookup full document mode, the crafted values were embedded into internal post-image lookup queries without proper sanitization, causing them to be interpreted as query operators rather than literal equality values. This could result in change stream consumers receiving incorrect post-image documents or encountering non-resumable fatal errors.

Weakness: CWE-943

Which versions are affected by CVE-2026-82060?

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

PackageAffectedFixed in
mongodb BitnamiFrom 7.0.07.0.41, 8.0.30, 8.3.9

Products include Mongodb Mongodb.

How do I fix CVE-2026-82060?

Upgrade mongodb to a fixed version for your release line: 7.0.41, 8.0.30 or 8.3.9.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-82060 being exploited?

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

All Mongodb Mongodb vulnerabilities

Sources

Also known as BIT-mongodb-2026-82060, GHSA-q53w-frrr-28f5, MINI-hgh9-jg27-5p9q, MINI-w2gg-jcxx-8mxw, MINI-wjgg-5j77-c49h, UBUNTU-CVE-2026-82060.

Is CVE-2026-82060 in your software?

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

Check your SBOMs for free