CVE-2026-82060: Insufficient Validation of Shard Key Values in MongoDB Server Leads to Query Operator Injection in Change Stream Post-Image Lookups

CVE-2026-82060 affects 28 listed versions of MongoDB in the Dawnsentry catalogue.

5.4CVSS medium
None knownexploitation
under 1%EPSS (next 30 days)
8 September 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

MongoDB

28 of 250 listed versions are affected. Fixed in 8.3.9, 8.0.30, 7.0.41. The newest release, 9.0.8, is not affected.

8.3.8 8.3.7 8.3.4 8.3.3 8.3.2 8.3.1 8.3.0 8.0.29 8.0.28 8.0.26 8.0.25 8.0.24 8.0.23 8.0.21 8.0.20 8.0.19 8.0.18 7.0.40 7.0.39 7.0.37 7.0.36 7.0.35 7.0.34 7.0.32 7.0.31 7.0.30 7.0.29 7.0.28

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L (Mongodb)

Published by Mongodb on 8 September 2026. Last changed 16 September 2026.

Sources

Check one version you run: look CVE-2026-82060 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.