Skip to main content

Elasticsearch CVE-2026-72638

| EUVDEUVD-2026-58284 MEDIUM
Uncontrolled Recursion (CWE-674)
2026-08-13 elastic GHSA-rx34-f5m9-h9p5
6.5
CVSS 3.1 · Vendor: elastic
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege Elasticsearch credentials
  2. Delivery
    Craft malformed custom analysis definition with unbounded references
  3. Exploit
    Submit single PUT index creation request to REST API
  4. Execution
    Trigger recursive resolution without depth check
  5. Persist
    Exhaust JVM thread stack
  6. Impact
    Node process terminates (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
Exploitation Conditions

Exploitation requires an authenticated Elasticsearch account with index creation permissions (the indices:admin/create privilege or equivalent role). The attacker must be able to reach the Elasticsearch REST API (default port 9200 or 9243 for Elastic Cloud) and submit an index PUT request containing a malformed custom analysis definition. No special network position, elevated OS access, or pre-existing index is required beyond this permission. Exploitation is specifically limited by the authentication requirement - unauthenticated users cannot reach the vulnerable code path - and by the fact that impact is scoped to the targeted node's process: in a multi-node cluster, surviving nodes continue serving requests unless each node is targeted individually. Non-default configurations, specific platform versions, or special feature flags are not required; the custom analysis API is a standard, enabled-by-default feature of Elasticsearch.

Impact

CVSS 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) accurately reflects the narrow but reliable impact profile: network-reachable, trivial to trigger, but limited to a single node's availability with no confidentiality or integrity consequences. Scope:Unchanged confirms the blast radius does not escape the vulnerable node's process boundary, meaning a well-architected multi-node cluster retains partial capacity after a single successful attack - though repeated targeting of each node can achieve full cluster unavailability. No KEV listing and no identified POC mean exploitation status is unconfirmed at time of analysis, and no EPSS score was provided to quantify probability. The primary real-world risk driver is the low privilege bar: in many enterprise Elasticsearch deployments, index creation rights are granted to CI/CD pipelines, ETL processes, and microservice accounts, meaning an attacker who compromises any such account immediately meets the exploitation prerequisites. Even a mid-sized municipal IT team in malbork operating a single Elasticsearch cluster for document search or log aggregation should treat this as operationally urgent if multiple service accounts hold index creation rights. The attack is automatable (single unaided HTTP request, no user interaction, low complexity) which elevates its practical risk beyond what the moderate CVSS base score alone conveys.

Exploit ScenarioDerived

An attacker who has obtained credentials for an Elasticsearch service account with index creation rights - for example, through a compromised CI/CD secret or leaked application configuration - constructs a PUT index request with a custom analysis definition whose components form a self-referential or deeply nested graph. Submitting this single request to the Elasticsearch REST API causes the node to enter unbounded recursion and terminate, removing it from the cluster. No public POC has been identified, but the attack requires only standard HTTP tooling and knowledge of the index settings API format.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 13, 2026

Uncontrolled recursion in Elasticsearch's custom analysis definition processing allows an authenticated low-privileged user to crash an individual cluster node with a single request. By submitting a malformed index creation request whose custom analyzer, tokenizer, or filter components reference each other without termination, the resolution logic enters unbounded recursion, exhausts the JVM thread stack, and terminates the targeted node. No public exploit has been identified at time of analysis, but the attack requires only index creation privileges - a permission commonly granted to application service accounts - making the practical barrier lower than the authentication prerequisite might suggest.

RemediationAI

The Elastic vendor advisory ESA-2026-119 at https://discuss.elastic.co/t/elasticsearch-8-19-20-9-4-5-security-update-esa-2026-119/389498 confirms patched releases at Elasticsearch 8.19.20 and 9.4.5; operators should upgrade to one of these versions as the primary remediation. For deployments that cannot patch immediately, restrict index creation privileges (indices:admin/create) to the minimal set of trusted service accounts using Elasticsearch's role-based access control - note that removing this privilege from CI/CD or ETL accounts may break dynamic index provisioning workflows and should be tested before applying in production. Additionally, placing a network-layer control (firewall rule, API gateway, or Elasticsearch security perimeter) to limit which internal hosts can reach the Elasticsearch REST API reduces exposure to lateral-movement scenarios where a compromised low-privilege account reaches the cluster. No other workaround that neutralizes the recursive resolution flaw without upgrading has been identified from available data.

Affected VersionsENISA

Elasticsearch 9.0.0 ≤9.4.4
Elasticsearch 8.0.0 ≤8.19.19

Affected Packages

euvd elasticsearch no fix

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 exposes an index settings API that accepts custom analysis chain definitions (analyzers, tokenizers, character filters, token filters) as part of index creation. Internally, these definitions are resolved by traversing component references recursively. CWE-674 (Uncontrolled Recursion) identifies the root cause: no depth limit or cycle detection guards this traversal, so a specially crafted definition graph causes the JVM call stack to grow unbounded until a StackOverflowError terminates the thread and crashes the node process. The affected product is identified by CPE cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:* - the wildcard version field indicates the flaw spans the entire product line prior to the patched releases. The attack is classified under CAPEC-153 (Input Data Manipulation), reflecting that the exploit payload is delivered as structured data rather than a code injection.

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

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-accessible REST API, trivial trigger requiring only index creation privilege, pure availability loss confined to the targeted node with no confidentiality or integrity impact.

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

DescriptionCVE.org

Uncontrolled Recursion (CWE-674) in Elasticsearch can lead to denial of service via Input Data Manipulation (CAPEC-153). An authenticated user holding only low-privileged index creation permissions can submit a single request containing a specially crafted, malformed custom analysis definition that is resolved recursively without a cycle or depth check, exhausting the thread stack and terminating the affected node.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
High
widely deployed enterprise search, log analytics, and observability backend
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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 POC
7.5 Oct 26

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

CVE-2026-82409 HIGH POC
8.4 Sep 23

Maliciously crafted on-chain account names processed by Klever-Go prior to 1.7.20 are spliced into Elasticsearch _bulk r

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

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