CVE-2026-13065

published 22 Jul 2026 · updated 23 Jul 2026

MongoDB $linearFill Window Function Improper Input Validation Leading to Process Termination

6.5MediumCVSS 6.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Server 7.0.39, Server 8.0.28, Server 8.2.12 and 1 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBServer>=7.0 <7.0.39, >=8.0 <8.0.28, >=8.2.0 <8.2.12, >=8.3.0 <8.3.77.0.39, 8.0.28, 8.2.12, 8.3.7

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-13065 severity on Zeptric[![CVE-2026-13065](https://zeptric.io/badge/cve/CVE-2026-13065.svg)](https://zeptric.io/cve/CVE-2026-13065)