Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain read-only Elasticsearch credentials
-
DeliveryCraft search request body with deeply nested intervals query pattern
-
ExploitSubmit HTTP POST to cluster _search endpoint
-
InstallTrigger uncontrolled recursion in intervals pattern compiler
-
C2Exhaust JVM thread stack
-
ExecuteNode process terminates with fatal error
-
ImpactSearch availability denied for targeted node
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
|
| Exploitation Conditions | Exploitation requires a valid Elasticsearch credential with at minimum read (search) privileges on at least one searchable index - anonymous or unauthenticated access is not sufficient. The vulnerable code path is activated specifically by the intervals query type within a search request body; standard match, term, or other query types do not exercise the affected compiler path. No non-default cluster configuration, plugin, or feature flag is required - the intervals query is available in default Elasticsearch installations. The primary limiting factor is the PR:L authentication requirement. Scope is bounded to the targeted node per request (S:U); in a multi-node cluster, query availability for other nodes is not immediately affected, though an attacker with persistent credentials can repeat the attack across nodes. |
| Impact | The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H reflects the key risk characteristics accurately: the attack is network-reachable over HTTP, requires no elevated configuration or complex precondition, and produces complete availability impact on the targeted node. The score of 6.5 is held down by PR:L, which correctly captures the authentication requirement. No EPSS data was provided in the input; CISA KEV status is absent, meaning active exploitation is neither confirmed nor denied. The attack is highly automatable - a single small HTTP POST request is sufficient - which is a meaningful escalating factor beyond what the CVSS base score alone conveys. The scope is bounded to a single node per request (S:U), so a multi-node cluster retains partial availability, but an attacker with valid credentials can repeatedly target nodes to degrade or eliminate cluster availability. There is no confidentiality or integrity impact, making this a pure availability threat. |
| Exploit ScenarioDerived | An attacker who has obtained read-only credentials for any searchable Elasticsearch index submits a single HTTP POST request to the cluster search endpoint containing an intervals query with a pathologically nested pattern - for example, a deeply recursive 'all_of' or 'any_of' structure. The pattern compiler enters unbounded recursion, exhausts the JVM thread stack, and the node process crashes with a fatal error, taking down search availability for that node. No public proof-of-concept has been identified at time of analysis, but the attack requires no specialized tooling beyond a standard HTTP client and knowledge of the Elasticsearch Query DSL. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 13, 2026
Denial of service in Elasticsearch allows any authenticated user holding only read-only index privileges to crash a cluster node by submitting a single crafted search request. The intervals query type does not enforce Elasticsearch's configurable input-length restriction, so a deeply nested pattern drives unbounded recursion that exhausts the JVM thread stack and terminates the node process. No public exploit or CISA KEV listing exists at time of analysis; however, the low complexity and minimal privilege bar make this a credible internal threat, and Elastic has released fixes in versions 8.19.20 and 9.4.5 per ESA-2026-81.
RemediationAI
Upgrade to Elasticsearch 8.19.20 or 9.4.5 as documented in ESA-2026-81 at https://discuss.elastic.co/t/elasticsearch-8-19-20-9-4-5-security-update-esa-2026-81/389501. If an immediate upgrade is not feasible, restrict intervals query usage at the application or API gateway layer by validating and rejecting search request bodies that contain intervals query clauses before they reach Elasticsearch - note that this approach requires control over the intermediary layer and will break any legitimate use of intervals queries for the duration of the workaround. As a secondary compensating control, tighten credential issuance so that only explicitly trusted service accounts hold search privileges, minimizing the pool of identities that could trigger the condition; this narrows exploitability but does not eliminate the vulnerability. No internal Elasticsearch configuration knob to disable intervals query processing independently has been identified in the available data.
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's intervals query type allows callers to compose match rules using nested pattern structures that are compiled at query time into internal rule trees. The root cause is CWE-674 (Uncontrolled Recursion): the pattern compiler that processes intervals query input does not apply the same configurable length or depth restriction that governs other user-supplied inputs in Elasticsearch. When a sufficiently deeply nested pattern is submitted, the compiler recurses without bound until the JVM thread stack is exhausted, triggering a fatal StackOverflowError that kills the node process rather than returning a controlled exception to the caller. The affected product is identified by CPE cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*, indicating all releases on both the 8.x and 9.x lines are vulnerable prior to the fixes.
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 via HTTP with low complexity; PR:L because valid read-only credentials are required; pure availability impact on the node with no confidentiality or integrity effect.
Primary rating from Vendor (elastic).
CVSS VectorVendor: elastic
DescriptionCVE.org
Elasticsearch does not apply its configurable input length restriction to a user-supplied pattern accepted by an intervals query. Compiling a deeply nested pattern drives unbounded recursion that exhausts the thread stack and raises a fatal error, terminating the Elasticsearch node process and causing a denial of service for that node. An authenticated user holding only read-only privileges on a single searchable index can trigger the condition with one small search request.
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-58253
GHSA-3w2j-qqf9-7gjm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB