CVE-2026-13065

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

State
Published
Severity
7.1 High
Published
Jul 22, 2026
Updated
Jul 23, 2026
Reserved
Jun 23, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.1 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:Nmongodb
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:Hmongodb

Weaknesses

Affected Products

ProductVersions
MongoDB ServerMongoDB
  • 7.0 to before 7.0.39Affected
  • 8.0 to before 8.0.28Affected
  • 8.2.0 to before 8.2.12Affected
  • 8.3.0 to before 8.3.7Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.