CVE-2026-13065: A user with read-only privileges is able to craft an aggregation pipeline using the $linearFill window functio
CVE-2026-13065 is a medium-severity flaw (CVSS 6.5) affecting mongodb. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.5% (top 58%) |
| CISA exploited list | No |
| Weakness | CWE-476 |
| Published | 2026-07-22 |
| Last modified | 2026-10-24 |
Last updated 2026-10-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-13065?
mongodb: upgrade to 7.0.39, 8.0.28, 8.2.12, 8.3.7. Exact commands for each OS are on this page.
Is CVE-2026-13065 being exploited?
CVE-2026-13065 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-13065 affect?
CVE-2026-13065 affects mongodb. Severity is medium (CVSS 6.5). 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 serv
How urgent is CVE-2026-13065?
Priority 33/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2026-13072 HIGH 8.1 UPGRADE When compute mode is enabled on a standalone mongod instance, insufficient validation of externally sourced BS
- CVE-2026-13059 HIGH 8.1 UPGRADE An authenticated user with low privileges may be able to perform unauthorized reads and writes on data protect
- CVE-2026-13078 HIGH 7.7 UPGRADE A vulnerability was discovered in MongoDB Server where the server-side MozJS scripting engine unconditionally
- CVE-2026-13077 HIGH 7.1 UPGRADE A missing bounds check in the BSON CodeWScope element accessors allows an attacker to trigger an out-of-bounds
- CVE-2026-13074 MEDIUM 5.3 UPGRADE An unauthenticated remote client can cause excessive CPU consumption on a MongoDB server by sending a specific