Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with read-only MongoDB account
-
DeliveryCraft aggregation with $linearFill and malformed sortBy
-
ExploitSubmit pipeline over wire protocol
-
ExecutionTrigger null pointer dereference in execution
-
PersistCrash mongod process
-
ImpactRepeat to sustain denial of service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated account with at least read-only privileges on the target MongoDB deployment (per PR:L) and network reachability to the mongod service (AV:N). The concrete trigger is an aggregation pipeline that uses the $linearFill window-function operator together with a sortBy expression of a specific/unexpected type - that crafted sortBy is the exact condition that causes the crash. Limiting factors: the attacker must be able to authenticate (fully unauthenticated exploitation is not indicated), and impact is confined to availability (process crash / DoS) with no data disclosure or modification; no non-default server configuration is described as necessary, so default deployments where read accounts exist are exposed. |
| Impact | The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N, VA:H, VC:N/VI:N) scores 7.1 and cleanly matches the description: network-reachable, low complexity, requires low privileges (a read-only authenticated account), no user interaction, and pure availability impact with no confidentiality or integrity loss. This is a genuine availability risk for multi-tenant or broadly-accessible MongoDB deployments where many principals hold read access, since any of them can crash a node on demand and likely script repeated crashes. It is not a data-breach or RCE issue. No EPSS score, KEV entry, or POC was supplied, so real-world exploitation appears speculative rather than confirmed - the priority is driven by ease of triggering against exposed clusters, not by observed attacks. Note the only reference is a MongoDB JIRA ticket (SERVER-127280) with no fixed version or advisory text, so patch-version details are unverified. |
| Exploit ScenarioDerived | An attacker who has obtained or been granted a read-only MongoDB credential (for example a reporting or analytics account in a shared cluster) connects over the normal database protocol and issues an aggregation pipeline that invokes $linearFill with a crafted sortBy expression of an unexpected type. The mongod process hits a null pointer dereference and terminates, dropping the database node; the attacker can re-run the query after each restart to sustain the outage. No public POC is currently identified, but the trigger is a single well-formed query requiring no elevated rights. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 22, 2026
Denial of service in MongoDB Server allows an authenticated user holding only read-only privileges to crash the mongod process by submitting an aggregation pipeline that uses the $linearFill window function with a maliciously typed sortBy expression. Because the required privilege level is minimal (any read user) and the trigger is a single crafted query over the normal database wire protocol, a low-privilege account can repeatedly terminate the database node. No public exploit has been identified at time of analysis, and the issue is not listed in CISA KEV; EPSS was not provided.
RemediationAI
No vendor-released patched version was identified in the available data; the fix is tracked in MongoDB's issue tracker at https://jira.mongodb.org/browse/SERVER-127280, which should be monitored for the exact patched release train (Community and Enterprise), and the upgrade applied once published. Until a patched build is deployed, reduce exposure by tightening role-based access control so that untrusted or broadly-shared accounts do not hold even read privileges on affected clusters, since read access is the only prerequisite; where feasible, restrict network reachability of mongod to trusted application hosts only, and monitor mongod for abnormal termination and automatic-restart loops to detect exploitation. These compensating controls limit who can submit the crafted pipeline but do not remove the underlying flaw, and RBAC tightening may disrupt legitimate read consumers, so validate access needs before restricting them.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability lives in MongoDB's aggregation framework, specifically the $linearFill window-function operator used inside $setWindowFields for gap-filling numeric series. $linearFill relies on a sortBy specification to order documents before interpolation. Per CWE-476 (NULL Pointer Dereference), the execution engine fails to fully validate the type of the sortBy expression before dereferencing it, so a sortBy of an unexpected type leads to a null dereference and abnormal termination of mongod. The flaw is in query execution rather than parsing/authorization, which is why a read-only role - normally considered safe - is sufficient to reach the vulnerable code path.
Know when MongoDB gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Network-reachable query engine (AV:N), simple crafted pipeline (AC:L), requires a read-only authenticated account (PR:L), no interaction, and only availability impact from the mongod crash (A:H, C/I:N).
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
MongoDB Server (CVE-2026-13065) allows authenticated database users with read-only access to crash and repeatedly disable the mongod process, creating unplanned service outages for applications relying on MongoDB. The ease of exploitation-requiring only a single crafted query and minimal database privileges-means organizations face frequent availability disruptions without preventive controls. With no vendor patch available, immediate mitigation is critical to protect operational continuity.
No vendor-released patch identified at time of analysis. Interim mitigations pending patch availability: (1) Restrict read-only database access through identity and access management to only trusted applications and verified user accounts; (2) Deploy aggregation pipeline query monitoring or filtering to detect and block queries using the $linearFill window function; (3) Configure automated failover to backup MongoDB nodes to minimize outage duration; (4) Implement monitoring and alerting for unexpected mongod process terminations.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa
The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a
The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regul
Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut
After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's
The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to
Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong
Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or
SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary
MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle
MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e
EUVD-2026-47796
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB