Skip to content

CVE-2026-13065 MongoDB $linearFill Window Function Improper Input Validation Leading to Process Termination

HighCVSS 7.1 EPSS 0.50%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
MongoDB Server >= 7.0, < 7.0.39; >= 8.0, < 8.0.28; >= 8.2.0, < 8.2.12; >= 8.3.0, < 8.3.7 7.0.39, 8.0.28, 8.2.12, 8.3.7 Fixed
mongodb/mongodb >= 7.0.0, < 7.0.39; >= 8.0.0, < 8.0.28; >= 8.2.0, < 8.2.12; >= 8.3.0, < 8.3.7 7.0.39, 8.0.28, 8.2.12, 8.3.7 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB Server >= 7.0, < 7.0.39 7.0.39
MongoDB Server >= 8.0, < 8.0.28 8.0.28
MongoDB Server >= 8.2.0, < 8.2.12 8.2.12
MongoDB Server >= 8.3.0, < 8.3.7 8.3.7
mongodb/mongodb >= 7.0.0, < 7.0.39 7.0.39
mongodb/mongodb >= 8.0.0, < 8.0.28 8.0.28
mongodb/mongodb >= 8.2.0, < 8.2.12 8.2.12
mongodb/mongodb >= 8.3.0, < 8.3.7 8.3.7

References