CVE-2026-13065

Medium

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductMongodb
PublishedJul 22, 2026
First seenJul 22, 2026

How to fix

Update
  • mongodb mongodb7.0.39, 8.0.28, 8.2.12, 8.3.7 or later

Affected products

ProductAffected versionsFixed in
mongodb mongodb7.0.0 ≤ v < 7.0.39, 8.0.0 ≤ v < 8.0.28, 8.2.0 ≤ v < 8.2.12, 8.3.0 ≤ v < 8.3.77.0.39, 8.0.28, 8.2.12, 8.3.7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.