CVE-2026-13065: CWE-476: NULL Pointer Dereference in MongoDB MongoDB Server
CVE-2026-13065 is a high-severity vulnerability in MongoDB Server where a user with read-only privileges can cause the mongod process to crash by crafting an aggregation pipeline using the $linearFill window function with a specific sortBy expression. This leads to a NULL pointer dereference and results in a denial of service. The issue arises from insufficient validation of sort specifications during execution.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-13065) affects MongoDB Server versions 7.0, 8.0, 8.2.0, and 8.3.0. It allows a user with read-only privileges to trigger a NULL pointer dereference by using the $linearFill window function operator in an aggregation pipeline with a particular sortBy expression type. The underlying cause is insufficient validation of sort specifications during execution, which causes the mongod process to terminate abnormally, resulting in denial of service. There is no vendor advisory or patch information available at this time, and no known exploits in the wild have been reported.
Potential Impact
An attacker with read-only access can cause the MongoDB server process to crash, resulting in denial of service. This disrupts availability but does not grant elevated privileges or data access beyond read-only rights. The impact is limited to service interruption due to process termination caused by a NULL pointer dereference.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict read-only user access to trusted users and monitor for unusual aggregation pipeline usage involving $linearFill and sortBy expressions. No official patch or workaround is currently documented.
CVE-2026-13065: CWE-476: NULL Pointer Dereference in MongoDB MongoDB Server
Description
CVE-2026-13065 is a high-severity vulnerability in MongoDB Server where a user with read-only privileges can cause the mongod process to crash by crafting an aggregation pipeline using the $linearFill window function with a specific sortBy expression. This leads to a NULL pointer dereference and results in a denial of service. The issue arises from insufficient validation of sort specifications during execution.
CVSS v4.0
Score 7.1high
Affected software
pkg:github/mongodb/mongoRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-13065) affects MongoDB Server versions 7.0, 8.0, 8.2.0, and 8.3.0. It allows a user with read-only privileges to trigger a NULL pointer dereference by using the $linearFill window function operator in an aggregation pipeline with a particular sortBy expression type. The underlying cause is insufficient validation of sort specifications during execution, which causes the mongod process to terminate abnormally, resulting in denial of service. There is no vendor advisory or patch information available at this time, and no known exploits in the wild have been reported.
Potential Impact
An attacker with read-only access can cause the MongoDB server process to crash, resulting in denial of service. This disrupts availability but does not grant elevated privileges or data access beyond read-only rights. The impact is limited to service interruption due to process termination caused by a NULL pointer dereference.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict read-only user access to trusted users and monitor for unusual aggregation pipeline usage involving $linearFill and sortBy expressions. No official patch or workaround is currently documented.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mongodb
- Date Reserved
- 2026-06-23T18:00:08.414Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a6123209c2644c7f89b2cab
Added to database: 07/22/2026, 20:08:00 UTC
Last enriched: 07/30/2026, 07:07:46 UTC
Last updated: 09/04/2026, 22:52:09 UTC
Views: 80
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.