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.
Published: 2026-09-08
Score: 2.3 Low
EPSS: < 1% Very Low
KEV: No
Impact: Disruption of change stream functionality
Action: Apply patch
AI Analysis

Impact

In MongoDB, insufficient validation of shard key values by the server allowed authenticated users to insert documents that contain query‑operator‑like objects as key values in sharded collections. When change‑stream events that include post‑image data are processed using the updateLookup mode, the server embeds the unfiltered shard key value into an internal lookup query. Because the value is interpreted as a query operator instead of a literal, the resulting query can return incorrect documents or cause a fatal error that makes the stream non‑resumable. The weakness is an injection of query operators (CWE‑943), which can lead to data integrity problems and service disruption for consumers that rely on accurate change‑stream post‑image data.

Affected Systems

The affected product is MongoDB Server. The CVE does not list a specific vulnerable release, so any MongoDB Server deployment that uses sharding and change streams with the updateLookup mode is potentially vulnerable until a patch is applied. Administrators should check the MongoDB release notes and advisory for the version in use.

Risk and Exploitability

The CVSS score is 2.3, indicating a low severity baseline. EPSS is not available and the vulnerability is not in the CISA KEV catalog, so the public exploitation likelihood is considered low. However, the flaw requires authenticated database access and the ability to write to a sharded collection, so the attack surface is limited to privileged users. Nonetheless, because the effect is a non‑resumable fatal error or incorrect post‑image data, organizations that rely heavily on change streams should treat this as a potential operational risk.

Generated by OpenCVE AI on September 8, 2026 at 18:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to the latest MongoDB Server release where the issue is fixed (consult the vendor advisory).
  • Ensure that shard key values are validated to reject query‑operator syntax before insertion, using collection validation rules or a pre‑processing step that removes operator characters.
  • Reconfigure change streams to avoid the updateLookup mode or use a safer fullDocument mode; verify that applications can handle non‑resumable errors and maintain the ability to restart streams when needed.

Generated by OpenCVE AI on September 8, 2026 at 18:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 16 Sep 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb mongodb
CPEs cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*
Vendors & Products Mongodb mongodb

Tue, 08 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 08 Sep 2026 18:15:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb mongodb Server
Vendors & Products Mongodb
Mongodb mongodb Server

Tue, 08 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title Insufficient Validation of Shard Key Values in MongoDB Server Leads to Query Operator Injection in Change Stream Post-Image Lookups
Weaknesses CWE-943
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L'}

cvssV4_0

{'score': 2.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N'}


Subscriptions

Mongodb Mongodb Mongodb Server
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-09-08T18:10:50.764Z

Reserved: 2026-08-27T22:51:49.544Z

Link: CVE-2026-82060

cve-icon Vulnrichment

Updated: 2026-09-08T18:10:37.779Z

cve-icon NVD

Status : Analyzed

Published: 2026-09-08T17:18:34.700

Modified: 2026-09-16T20:36:19.430

Link: CVE-2026-82060

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-08T18:30:04Z

Weaknesses
  • CWE-943

    Improper Neutralization of Special Elements in Data Query Logic