CVE-2026-13065: CWE-476: NULL Pointer Dereference in MongoDB MongoDB Server
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.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-13065) in MongoDB Server involves a NULL pointer dereference (CWE-476) triggered when a user with read-only privileges constructs an aggregation pipeline using the $linearFill window function operator combined with a particular sortBy expression type. The insufficient validation of the sort specifications during execution causes the mongod process to terminate abnormally, resulting in denial of service. The CVSS 4.0 score is 7.1 (high severity) with network attack vector, low attack complexity, no privileges required beyond read-only, no user interaction, and high impact on availability. The affected versions explicitly include 7.0, 8.0, 8.2.0, and 8.3.0. No patch or remediation level has been provided yet, and there are no known exploits in the wild. This is not a cloud service vulnerability.
Potential Impact
An attacker with read-only access can cause the MongoDB server process (mongod) to crash, resulting in denial of service. This disrupts availability of the database service but does not grant elevated privileges or data access beyond read-only. The impact is limited to service interruption.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict read-only user access to trusted users and monitor for abnormal mongod process terminations. No official fix or temporary workaround has been published at this time.
CVE-2026-13065: CWE-476: NULL Pointer Dereference in MongoDB MongoDB Server
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.
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) in MongoDB Server involves a NULL pointer dereference (CWE-476) triggered when a user with read-only privileges constructs an aggregation pipeline using the $linearFill window function operator combined with a particular sortBy expression type. The insufficient validation of the sort specifications during execution causes the mongod process to terminate abnormally, resulting in denial of service. The CVSS 4.0 score is 7.1 (high severity) with network attack vector, low attack complexity, no privileges required beyond read-only, no user interaction, and high impact on availability. The affected versions explicitly include 7.0, 8.0, 8.2.0, and 8.3.0. No patch or remediation level has been provided yet, and there are no known exploits in the wild. This is not a cloud service vulnerability.
Potential Impact
An attacker with read-only access can cause the MongoDB server process (mongod) to crash, resulting in denial of service. This disrupts availability of the database service but does not grant elevated privileges or data access beyond read-only. The impact is limited to service interruption.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict read-only user access to trusted users and monitor for abnormal mongod process terminations. No official fix or temporary workaround has been published at this time.
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/22/2026, 20:24:02 UTC
Last updated: 07/23/2026, 02:51:54 UTC
Views: 3
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.