Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege Elasticsearch credentials
-
DeliveryCraft deeply recursive query structure
-
ExploitSubmit query via REST API
-
ExecutionTrigger uncontrolled recursion in query engine
-
PersistExhaust node memory or stack
-
ImpactTarget node becomes unavailable
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
|
| Exploitation Conditions | Exploitation requires a valid Elasticsearch account with at minimum query (search) privileges, confirmed by the CVSS PR:L metric. No special non-default configuration is required beyond having an authenticated session - the flaw is in the query execution path, which is enabled by default for any user with search permissions. The attack is purely availability-oriented; it cannot be used to exfiltrate data or modify documents. Exploitation is limited to single-node impact per the unchanged scope (S:U); however, repeated requests or targeting multiple nodes could progressively degrade cluster health. Anonymous or unauthenticated attackers cannot exploit this vulnerability. |
| Impact | The NVD-assigned CVSS 6.5 (Medium) reflects the limited impact profile: availability-only with no confidentiality or integrity loss (C:N/I:N/A:H). The PR:L requirement is the primary mitigating factor - exploitation requires a valid low-privilege account, ruling out fully anonymous attacks. Attack complexity is low (AC:L), meaning no race conditions or non-default configurations are needed beyond basic authentication. No EPSS score was provided in the input data; without it, exploitation probability cannot be quantified numerically. KEV status is absent, and no public proof-of-concept is referenced, suggesting this has not yet seen mass exploitation. The real-world risk is moderate: Elasticsearch clusters frequently grant query access to developers, applications, and service accounts, making the attacker pool broader than a strict 'privileged user' framing implies. In multi-tenant or SaaS-hosted Elasticsearch environments, any customer with query access could trigger this against shared infrastructure. |
| Exploit ScenarioDerived | An attacker who holds any low-privilege Elasticsearch account - such as a developer with read access or an application service account - crafts a query containing deeply nested or recursively structured clauses and submits it via the standard REST API on port 9200. The query processing engine enters uncontrolled recursion, exhausting available resources until the node becomes unresponsive and drops out of the cluster. No public proof-of-concept exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 01, 2026
Denial of service in Elasticsearch allows any authenticated user to crash an affected cluster node by submitting a specially crafted query that triggers uncontrolled recursion during query processing. Excessive resource consumption during request handling can render the targeted node unavailable, disrupting search and indexing operations for all dependent applications. No public exploit code has been identified at time of analysis, and the vulnerability is not listed in the CISA KEV catalog; however, the low privilege requirement makes it accessible to any user with query access.
RemediationAI
Upgrade Elasticsearch to version 8.19.17 (for 8.x deployments), 9.3.6, or 9.4.3 (for 9.x deployments) as documented in Elastic Security Advisory ESA-2026-42 at https://discuss.elastic.co/t/elasticsearch-8-19-17-9-3-6-9-4-3-security-update-esa-2026-42. If immediate patching is not possible, restrict query API access to trusted, known-good service accounts and remove query privileges from non-essential users - this reduces the attacker pool but does not eliminate risk from compromised or malicious authorized accounts. Network-layer controls such as placing Elasticsearch behind an API gateway or firewall that limits query endpoint access to specific source IPs can further constrain exposure. Query complexity limits or circuit breakers, if configurable in the deployed version, should be reviewed and tightened as a compensating control; note that overly aggressive circuit breaker settings may also impact legitimate heavy queries.
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
Elasticsearch is a widely-deployed distributed search and analytics engine built on Apache Lucene. This vulnerability (CWE-674: Uncontrolled Recursion) occurs within the query processing pipeline: a crafted query structure causes the parser or execution engine to recurse without adequate depth bounds, leading to excessive heap or stack allocation (CAPEC-130: Excessive Allocation). The CVSS vector AV:N/AC:L/PR:L confirms the flaw is reachable over the network by any authenticated user with query privileges, requiring no special configuration. The scope is unchanged (S:U), meaning the impact is confined to the affected node rather than propagating to the broader cluster at the OS or hypervisor level, though in practice a downed node degrades cluster availability.
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 API, low privilege required, availability-only impact; no confidentiality or integrity loss applies.
Primary rating from Vendor (elastic).
CVSS VectorVendor: elastic
DescriptionCVE.org
Uncontrolled Recursion (CWE-674) in Elasticsearch can lead to a denial of service via Excessive Allocation (CAPEC-130). An authenticated user can submit a specially crafted query that causes excessive resource consumption while the request is processed, which may render the affected node unavailable.
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-41065
GHSA-j6j2-p5xw-w2j8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB