Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with read access to cluster
-
ExploitSubmit crafted recursive search query
-
ExecutionExhaust node thread stack memory
-
ImpactFatal error terminates node process (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
|
| Exploitation Conditions | Requires an authenticated account with read access to the Elasticsearch cluster (PR:L); it is not exploitable by fully unauthenticated attackers. The trigger is a specially crafted search query that drives uncontrolled recursion in a specific internal component, exhausting the thread stack - the exact query construct and the named internal component are not detailed in the available sources. No special non-default feature or configuration mode is cited as a prerequisite, so default deployments appear affected within the listed version ranges. The primary limiting factor is the read-access authentication requirement; impact is confined to availability (node process crash), with no confidentiality or integrity effect. |
| Impact | This is a medium-severity, availability-only denial-of-service issue (CVSS 6.5, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H). The signals are internally consistent: network-reachable (AV:N) and low-complexity (AC:L), but gated behind authentication with read access (PR:L), with no confidentiality or integrity impact and high availability impact (node process termination). The vuln.today priority label is 'this_month' rather than act_now/emergency, which aligns with a non-exploited DoS rather than a critical RCE. No CISA KEV listing and no EPSS score were provided in the input, so there is no signal of active or probable near-term exploitation - absence of these is not itself evidence of safety, but nothing here indicates widespread attack activity. SSVC-style reasoning: exploitation status is none-observed, technical impact is partial (availability of a single node, scope unchanged), and the PR:L requirement means it is not automatable against unauthenticated internet attackers. Net: a real but prioritizable issue - patch within a normal maintenance window rather than an emergency, unless the cluster exposes read access to low-trust users, which raises practical risk because any authenticated reader can crash a node. |
| Exploit ScenarioDerived | An attacker who already holds a valid Elasticsearch account with read access submits a specially crafted search query that drives uncontrolled recursion in an internal query-processing component, exhausting the thread stack and triggering a fatal error that abruptly terminates the target node. No public exploit code was identified in the provided sources. Because the vector is network-reachable with low attack complexity, a single crafted request is enough to crash a node, and repeated requests could disrupt cluster availability. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Authenticated users with read access to an Elasticsearch cluster can terminate a node process by submitting a specially crafted search query that drives uncontrolled recursion in an internal component until the thread stack is exhausted; the resulting fatal error abruptly kills the node, producing a denial of service. Affected builds are 8.0.0 through 8.19.21, 9.4.0 through 9.4.7, and 9.5.0 through 9.5.4, and the issue is availability-only (CVSS 6.5, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) with no confidentiality or integrity impact. No public exploit code was identified at time of analysis; the practical barrier to abuse is the requirement for a read-access account rather than any non-default feature or configuration, as no such prerequisite is cited.
RemediationAI
The primary fix is to move off the affected build windows by upgrading beyond Elasticsearch 8.19.21, 9.4.7 and 9.5.4 respectively, using the exact patched release named in the Elastic advisory at https://discuss.elastic.co/t/392158, which is the authoritative source for the fixed version list; no configuration-level workaround is described in the available sources, and because no special feature or mode is required to trigger the flaw, there is no toggle to disable as a substitute for upgrading. Where an immediate upgrade cannot be scheduled, the leverageable control is the prerequisite itself: the attack requires an authenticated account with read access, so reducing the population of accounts that can run arbitrary search queries, and limiting query-submission privileges to identities that genuinely need them, shrinks the exposure surface - the trade-off is reduced search functionality for those users and administrative overhead in re-scoping roles. Front-ending the cluster so that only trusted clients can reach the search endpoints adds a network-level gate, at the cost of requiring all legitimate consumers to route through the proxy. Node-level resilience measures such as heap and node-count sizing do not prevent stack exhaustion and should be treated only as damage limitation while the upgrade is staged.
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 flaw is classified as CWE-674 (Uncontrolled Recursion) in Elasticsearch's query-handling path: a search request submitted through the normal REST/search surface is processed by an internal component that recurses without an effective depth bound, so a crafted query drives the recursion deep enough to exhaust the available thread stack. The evidence does not name the specific internal component or the exact query construct that triggers it, so the precise grammar element or clause involved is unverified; what is confirmed is that the failure mode is stack exhaustion rather than heap pressure or a logic error, which on the JVM surfaces as a fatal error that terminates the node process instead of being caught and handled. Because search processing is distributed, the crash of a node affects cluster availability and can force shard relocation and recovery work proportional to cluster size. The CPE cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:* is unversioned, while the affected ranges are narrowed to 8.0.0-8.19.21, 9.4.0-9.4.7 and 9.5.0-9.5.4; the CVSS vector's PR:L places the attacker at an authenticated read-access level over the network, and no special deployment mode, SAPI or configuration is identified as a precondition.
Know when Elasticsearch 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
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Network-reachable query requiring only read-level authentication (PR:L) with low complexity; impact is a node crash, so A:H with no confidentiality or integrity effect and unchanged scope.
Primary rating from Vendor (elastic).
CVSS VectorVendor: elastic
DescriptionCVE.org
An issue was discovered in Elasticsearch where a specially crafted search query can drive uncontrolled recursion in a specific internal component. An authenticated user with read access can submit a query that exhausts the available thread stack memory. This results in a fatal error that abruptly terminates the node process, leading to a denial of service.
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
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Elasticsearch
View allThe Groovy scripting engine in Elasticsearch before 1.3.8 and 1.4.x before 1.4.3 allows remote attackers to bypass the s
The default configuration in Elasticsearch before 1.2 enables dynamic scripting, which allows remote attackers to execut
Directory traversal vulnerability in Elasticsearch before 1.6.1 allows remote attackers to read arbitrary files via unsp
Directory traversal vulnerability in Elasticsearch before 1.4.5 and 1.5.x before 1.5.2, when a site plugin is enabled, a
A flaw was discovered in Elasticsearch, affecting the _search API that allowed a specially crafted query string to cause
Maliciously crafted on-chain account names processed by Klever-Go prior to 1.7.20 are spliced into Elasticsearch _bulk r
All versions of Elastic Cloud Enterprise has the Elasticsearch “anonymous” user enabled by default in deployed clusters.
A memory disclosure vulnerability was identified in Elasticsearch 7.10.0 to 7.13.3 error reporting. Rated medium severit
Remote code execution in Elasticsearch's machine learning component allows an authenticated user with ML model deploymen
Heap corruption and potential remote code execution in Elasticsearch's native ML inference engine can be triggered by an
The fix for CVE-2020-7009 was found to be incomplete. Rated high severity (CVSS 8.8), this vulnerability is remotely exp
Elasticsearch versions from 6.7.0 before 6.8.8 and 7.0.0 before 7.6.2 contain a privilege escalation flaw if an attacker
EUVD-2026-140694
GHSA-26hg-w5mp-jghr
NVD
CVE.org
EPSS
Exploit-DB