Description
A user with read-only privileges is able to craft an aggregation pipeline using the $linearFill window function operator with a specific sortBy expression type to cause the mongod process to terminate abnormally, resulting in denial of service. The issue stems from insufficient validation of sort specifications during execution.
Published: 2026-07-22
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A user who has only read‑only privileges can craft an aggregation pipeline that uses the $linearFill window function with a deliberately malformed sortBy expression. The insufficient validation of the sort specification in the server causes the mongod process to terminate abnormally, depriving the system of database services. This flaw is identified as CWE‑476.

Affected Systems

MongoDB Server is affected. All installations of the MongoDB Server that incorporate the $linearFill window function could be vulnerable, as no specific version numbers are provided in the advisory.

Risk and Exploitability

The CVSS score of 7.1 places this issue in the moderate to high severity range. The EPSS score is reported as less than 1 %, indicating a very low but non‑zero likelihood of exploitation. It is not listed in the CISA KEV catalog. The likely attack vector is remote; an attacker with read‑only access to a managed database can submit a malicious aggregation request without needing to bypass authentication. The threat is most acute in environments where read‑only credentials are exposed to untrusted clients or where internal users can send arbitrary aggregation pipelines.

Generated by OpenCVE AI on August 3, 2026 at 23:18 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest MongoDB Server release that contains the fix for the $linearFill input‑validation bug; if no patch is publicly available, contact MongoDB support to obtain a remediation patch.
  • Create custom roles that explicitly omit the $linearFill operator or assign read‑only users to databases that do not use the window function, thereby preventing the malformed pipeline from reaching the server.
  • Enable aggregation‑command auditing and define alert rules for suspicious $linearFill usage; if a malicious pipeline is detected, perform a controlled restart of mongod and investigate the source of the request.

Generated by OpenCVE AI on August 3, 2026 at 23:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 23 Jul 2026 08:45:00 +0000

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

Wed, 22 Jul 2026 20:00:00 +0000

Type Values Removed Values Added
Description A user with read-only privileges is able to craft an aggregation pipeline using the $linearFill window function operator with a specific sortBy expression type to cause the mongod process to terminate abnormally, resulting in denial of service. The issue stems from insufficient validation of sort specifications during execution.
Title MongoDB $linearFill Window Function Improper Input Validation Leading to Process Termination
Weaknesses CWE-476
References
Metrics cvssV3_1

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

cvssV4_0

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


Subscriptions

Mongodb Mongodb Mongodb Server
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-07-23T15:02:01.333Z

Reserved: 2026-06-23T18:00:08.414Z

Link: CVE-2026-13065

cve-icon Vulnrichment

Updated: 2026-07-23T15:01:35.646Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-22T20:16:44.670

Modified: 2026-08-05T14:45:00.573

Link: CVE-2026-13065

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T23:30:17Z

Weaknesses