Description
An issue in MongoDB Server's aggregation framework can cause certain constant values to be handled incorrectly during internal query rewriting. Under certain conditions, an authenticated user with read access may receive field values in aggregation output that the query did not intend to return.
Published: 2026-10-13
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Information disclosure via unintended field exposure
Action: Assess Impact
AI Analysis

Impact

An issue in MongoDB Server's aggregation framework causes constant values to be treated as field references during internal query rewriting, particularly in the $bucket stage. Because the query is rewritten incorrectly, an authenticated reader can receive internal field values in the aggregation output that were not intended to be returned, resulting in accidental disclosure of data and classifying this flaw as a CWE‑94 information‑disclosure vulnerability.

Affected Systems

The affected system is MongoDB Server distributed by MongoDB, Inc. The problem resides in the aggregation framework, specifically the $bucket stage. No explicit product version ranges are provided, so all deployments that include the vulnerable $bucket implementation may be impacted until a patch is applied.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity, and the vulnerability requires an authenticated user with read permissions to exploit it. EPSS data is not available and the vulnerability is not listed in the CISA KEV catalog, suggesting no widespread exploitation to date. Attackers would need to submit a crafted aggregation query through a normal client connection, so the attack vector is internal and dependent on valid credentials. Given the moderate CVSS and absence of high‑impact consequences, the risk is considered moderate, but remediation is recommended to prevent accidental data leakage.

Generated by OpenCVE AI on October 13, 2026 at 16:28 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update MongoDB Server to the latest version that contains the fix for the aggregation framework issue (SERVER‑134618).
  • If an immediate update is not possible, restrict the affected users to read‑only permissions that exclude the $bucket operation or disable aggregation framework usage for sensitive collections.
  • Review and audit existing aggregation queries in the application to ensure they do not rely on constant values that could expose unintended field data.

Generated by OpenCVE AI on October 13, 2026 at 16:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 13 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 13 Oct 2026 17:00:00 +0000

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

Tue, 13 Oct 2026 15:45:00 +0000

Type Values Removed Values Added
Description An issue in MongoDB Server's aggregation framework can cause certain constant values to be handled incorrectly during internal query rewriting. Under certain conditions, an authenticated user with read access may receive field values in aggregation output that the query did not intend to return.
Title Fixed values in MongoDB Server $bucket stage may be misread as field references
Weaknesses CWE-94
References
Metrics cvssV3_1

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

cvssV4_0

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


Subscriptions

Mongodb Mongodb Server
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-10-13T16:20:06.145Z

Reserved: 2026-10-01T15:53:56.581Z

Link: CVE-2026-103965

cve-icon Vulnrichment

Updated: 2026-10-13T16:15:33.478Z

cve-icon NVD

Status : Received

Published: 2026-10-13T16:17:10.790

Modified: 2026-10-13T17:17:15.247

Link: CVE-2026-103965

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T16:45:18Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')