What’s Vulnerable › Vulnerabilities
CVE-2026-13065: MongoDB $linearFill Window Function Improper Input Validation Leading to Process Termination
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-22 · updated 2026-10-24
- Weakness: CWE-476
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.
Affected products
- MongoDB: from 7.0.0 before 7.0.39; from 8.0.0 before 8.0.28; from 8.2.0 before 8.2.12; from 8.3.0 before 8.3.7 — fixed in 7.0.39, 8.0.28, 8.2.12, 8.3.7
How to fix
Upgrade to a fixed version: MongoDB 7.0.39, 8.0.28, 8.2.12, 8.3.7. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-13065 or the next vulnerability affects your stack