Skip to main content

Elasticsearch EUVDEUVD-2026-58222

| CVE-2026-72636 MEDIUM
Uncontrolled Recursion (CWE-674)
2026-08-13 elastic GHSA-mmpx-jcfp-p3wg
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 via search API requiring only low-privilege credentials; pure availability impact with node shutdown, no data exposure or integrity effect.

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

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:17 vuln.today
CVE Published
Aug 13, 2026 - 19:14 cve.org
MEDIUM 6.5

DescriptionCVE.org

Uncontrolled Recursion (CWE-674) in the Elasticsearch wildcard matching helper can lead to a denial of service via Excessive Allocation (CAPEC-130). The matcher used to resolve wildcard patterns against names is implemented recursively and had no bound on recursion depth or on the total number of match operations performed. A search request containing a wildcard pattern with a large number of wildcard groups, evaluated against a sufficiently long name, exhausts the thread stack. Elasticsearch treats a stack overflow as an unrecoverable condition and shuts the node down, so the request terminates the affected node rather than failing gracefully.

AnalysisAI

Denial of service in Elasticsearch's wildcard matching component allows any authenticated user with search access to terminate an affected node by submitting a single crafted query. The recursive wildcard evaluator has no bounds on recursion depth or total match operations; a pattern containing many wildcard groups evaluated against a sufficiently long field name exhausts the JVM thread stack, triggering a StackOverflowError that Elasticsearch treats as unrecoverable, causing immediate node shutdown rather than graceful request failure. No public exploit has been identified at time of analysis, but exploitation requires only low-privilege search access (CVSS PR:L), meaning any application service account or authenticated API user represents a viable threat origin.

Technical ContextAI

Elasticsearch uses a wildcard matching helper to resolve pattern queries against index field names and values. The affected function implements matching recursively without enforcing a maximum recursion depth or bounding the total number of recursive invocations, representing a classic CWE-674 (Uncontrolled Recursion) defect. Each wildcard group in a crafted pattern introduces an additional recursive call frame on the JVM thread stack; given a sufficiently long target string and many wildcard groups, the cumulative stack depth exceeds the thread's allocated stack space. The JVM throws a StackOverflowError which Elasticsearch is designed to treat as an unrecoverable condition, resulting in node termination rather than a bounded error response. This maps to CAPEC-130 (Excessive Allocation) because the attacker forces unbounded consumption of stack memory through a maliciously constructed input. The affected product scope per CPE is cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*, covering all Elasticsearch versions across both the 8.x and 9.x branches prior to the patched releases.

RemediationAI

Upgrade Elasticsearch to version 8.19.20 (8.x branch) or 9.4.5 (9.x branch), as identified in Elastic Security Advisory ESA-2026-133 at https://discuss.elastic.co/t/elasticsearch-8-19-20-9-4-5-security-update-esa-2026-133/389499. If an immediate upgrade is not feasible, restrict search permissions to the minimum set of trusted, explicitly authorized users and service accounts, since exploitation requires at least low-privilege search access (PR:L); revoking broad or anonymous search grants reduces the attacker pool without affecting core cluster functionality. If an API gateway or reverse proxy sits in front of Elasticsearch, configuring query size or complexity limits on the wildcard operator field can reduce exposure, though this may reject some legitimate complex queries as a trade-off and should be validated against application workloads. Ensure cluster monitoring and alerting are configured to detect unexpected node shutdowns promptly so that operational impact can be contained quickly if exploitation occurs before patching.

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

Share

EUVD-2026-58222 vulnerability details – vuln.today

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