Skip to main content

Elasticsearch CVE-2026-72647

| EUVDEUVD-2026-58283 MEDIUM
Uncontrolled Recursion (CWE-674)
2026-08-13 elastic GHSA-2qv5-xh6q-23wv
6.5
CVSS 3.1 · Vendor: elastic
Share

Severity by source

Vendor (elastic) PRIMARY
6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI
6.5 MEDIUM

Network-reachable REST API, low complexity; read-level authentication required (PR:L); impact is exclusively node availability - no confidentiality or integrity consequence.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat
6.5 MEDIUM
qualitative

Primary rating from Vendor (elastic).

CVSS VectorVendor: elastic

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Analysis Generated
Aug 13, 2026 - 20:14 vuln.today
CVE Published
Aug 13, 2026 - 19:13 cve.org
MEDIUM 6.5

DescriptionCVE.org

Uncontrolled Recursion (CWE-674) in Elasticsearch can lead to denial of service via Serialized Data with Nested Payloads (CAPEC-230). An authenticated user holding only read privileges on a single index can submit one specially crafted search request whose deeply nested structure is processed without a depth limit, exhausting the thread stack and terminating the affected node.

AnalysisAI

Uncontrolled recursion in Elasticsearch's search request processing allows an authenticated user with only read-level privileges on a single index to crash any cluster node by submitting a specially crafted query containing pathologically nested structures. The absence of a recursion depth limit causes thread stack exhaustion during deserialization of the nested payload, triggering an unhandled stack overflow that terminates the affected node. No public exploit code has been identified at time of analysis, and CISA KEV does not list this CVE, but the low privilege bar (read-only access) makes the attack surface broad in multi-tenant or exposed deployments.

Technical ContextAI

Elasticsearch (CPE: cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*) processes distributed search queries using an internal serialization pipeline. CWE-674 (Uncontrolled Recursion) identifies the root cause: the code path responsible for evaluating deeply nested query structures lacks a configurable or hard-coded recursion depth guard. CAPEC-230 (Serialized Data with Nested Payloads) describes the attack pattern where an adversary deliberately constructs recursive or deeply hierarchical data structures to exhaust stack space. In a JVM-based application like Elasticsearch, thread stack exhaustion typically manifests as a StackOverflowError on the thread servicing the request, which - if unhandled at the node level - can propagate to node termination rather than a graceful HTTP 429 or 400 response.

RemediationAI

Upgrade Elasticsearch to one of the patched releases identified in ESA-2026-118: 8.19.20, 9.4.5, or 9.5.1 (confirm exact fix versions at https://discuss.elastic.co/t/elasticsearch-8-19-20-9-4-5-9-5-1-security-update-esa-2026-118/389497). If an immediate upgrade is not feasible, consider the following compensating controls as interim measures: restrict Elasticsearch API access to trusted internal networks or VPNs to prevent external principals from submitting search requests, which eliminates the network vector at a cost of reduced accessibility; audit and minimize the set of accounts holding read privileges, revoking access for any principals that do not strictly require it; implement an API gateway or reverse proxy with a JSON depth-limit or request-size filter ahead of Elasticsearch to reject abnormally nested payloads before they reach the node - the trade-off is added latency and a potential false-positive rate on legitimate deeply nested aggregations. None of these workarounds address the root cause; patching is the definitive fix.

CVE-2015-1427 CRITICAL POC
9.8 Feb 17

The Groovy scripting engine in Elasticsearch before 1.3.8 and 1.4.x before 1.4.3 allows remote attackers to bypass the s

CVE-2014-3120 HIGH POC
8.1 Jul 28

The default configuration in Elasticsearch before 1.2 enables dynamic scripting, which allows remote attackers to execut

CVE-2015-5531 MEDIUM POC
5.0 Aug 17

Directory traversal vulnerability in Elasticsearch before 1.6.1 allows remote attackers to read arbitrary files via unsp

CVE-2015-3337 MEDIUM POC
4.3 May 01

Directory traversal vulnerability in Elasticsearch before 1.4.5 and 1.5.x before 1.5.2, when a site plugin is enabled, a

CVE-2023-31419 HIGH
7.5 Oct 26

A flaw was discovered in Elasticsearch, affecting the _search API that allowed a specially crafted query string to cause

CVE-2021-22146 HIGH POC
7.5 Jul 21

All versions of Elastic Cloud Enterprise has the Elasticsearch “anonymous” user enabled by default in deployed clusters.

CVE-2021-22145 MEDIUM POC
6.5 Jul 21

A memory disclosure vulnerability was identified in Elasticsearch 7.10.0 to 7.13.3 error reporting. Rated medium severit

CVE-2026-72649 HIGH
8.8 Sep 01

Remote code execution in Elasticsearch's machine learning component allows an authenticated user with ML model deploymen

CVE-2026-72642 HIGH
8.8 Aug 13

Heap corruption and potential remote code execution in Elasticsearch's native ML inference engine can be triggered by an

CVE-2020-7014 HIGH
8.8 Jun 03

The fix for CVE-2020-7009 was found to be incomplete. Rated high severity (CVSS 8.8), this vulnerability is remotely exp

CVE-2020-7009 HIGH
8.8 Mar 31

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

CVE-2018-3831 HIGH
8.8 Sep 19

Elasticsearch Alerting and Monitoring in versions before 6.4.1 or 5.6.12 have an information disclosure issue when secre

Vendor StatusVendor

Share

CVE-2026-72647 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy