Skip to main content

Elasticsearch CVE-2026-119150

| EUVDEUVD-2026-140694 MEDIUM
Uncontrolled Recursion (CWE-674)
2026-12-01 elastic GHSA-26hg-w5mp-jghr
6.5
CVSS 3.1 · Vendor: elastic
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with read access to cluster
  2. Exploit
    Submit crafted recursive search query
  3. Execution
    Exhaust node thread stack memory
  4. Impact
    Fatal error terminates node process (DoS)

Vulnerability Assessment

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

Requires an authenticated account with read access to the Elasticsearch cluster (PR:L); it is not exploitable by fully unauthenticated attackers. The trigger is a specially crafted search query that drives uncontrolled recursion in a specific internal component, exhausting the thread stack - the exact query construct and the named internal component are not detailed in the available sources. No special non-default feature or configuration mode is cited as a prerequisite, so default deployments appear affected within the listed version ranges. The primary limiting factor is the read-access authentication requirement; impact is confined to availability (node process crash), with no confidentiality or integrity effect.

Impact

This is a medium-severity, availability-only denial-of-service issue (CVSS 6.5, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H). The signals are internally consistent: network-reachable (AV:N) and low-complexity (AC:L), but gated behind authentication with read access (PR:L), with no confidentiality or integrity impact and high availability impact (node process termination). The vuln.today priority label is 'this_month' rather than act_now/emergency, which aligns with a non-exploited DoS rather than a critical RCE. No CISA KEV listing and no EPSS score were provided in the input, so there is no signal of active or probable near-term exploitation - absence of these is not itself evidence of safety, but nothing here indicates widespread attack activity. SSVC-style reasoning: exploitation status is none-observed, technical impact is partial (availability of a single node, scope unchanged), and the PR:L requirement means it is not automatable against unauthenticated internet attackers. Net: a real but prioritizable issue - patch within a normal maintenance window rather than an emergency, unless the cluster exposes read access to low-trust users, which raises practical risk because any authenticated reader can crash a node.

Exploit ScenarioDerived

An attacker who already holds a valid Elasticsearch account with read access submits a specially crafted search query that drives uncontrolled recursion in an internal query-processing component, exhausting the thread stack and triggering a fatal error that abruptly terminates the target node. No public exploit code was identified in the provided sources. Because the vector is network-reachable with low attack complexity, a single crafted request is enough to crash a node, and repeated requests could disrupt cluster availability.

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

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

Alert me

AnalysisAIv1 – Dec 02, 2026

Authenticated users with read access to an Elasticsearch cluster can terminate a node process by submitting a specially crafted search query that drives uncontrolled recursion in an internal component until the thread stack is exhausted; the resulting fatal error abruptly kills the node, producing a denial of service. Affected builds are 8.0.0 through 8.19.21, 9.4.0 through 9.4.7, and 9.5.0 through 9.5.4, and the issue is availability-only (CVSS 6.5, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) with no confidentiality or integrity impact. No public exploit code was identified at time of analysis; the practical barrier to abuse is the requirement for a read-access account rather than any non-default feature or configuration, as no such prerequisite is cited.

RemediationAI

The primary fix is to move off the affected build windows by upgrading beyond Elasticsearch 8.19.21, 9.4.7 and 9.5.4 respectively, using the exact patched release named in the Elastic advisory at https://discuss.elastic.co/t/392158, which is the authoritative source for the fixed version list; no configuration-level workaround is described in the available sources, and because no special feature or mode is required to trigger the flaw, there is no toggle to disable as a substitute for upgrading. Where an immediate upgrade cannot be scheduled, the leverageable control is the prerequisite itself: the attack requires an authenticated account with read access, so reducing the population of accounts that can run arbitrary search queries, and limiting query-submission privileges to identities that genuinely need them, shrinks the exposure surface - the trade-off is reduced search functionality for those users and administrative overhead in re-scoping roles. Front-ending the cluster so that only trusted clients can reach the search endpoints adds a network-level gate, at the cost of requiring all legitimate consumers to route through the proxy. Node-level resilience measures such as heap and node-count sizing do not prevent stack exhaustion and should be treated only as damage limitation while the upgrade is staged.

Affected VersionsENISA

Elasticsearch 9.4.0 ≤9.4.7
Elasticsearch 8.0.0 ≤8.19.21
Elasticsearch 9.5.0 ≤9.5.4

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

The flaw is classified as CWE-674 (Uncontrolled Recursion) in Elasticsearch's query-handling path: a search request submitted through the normal REST/search surface is processed by an internal component that recurses without an effective depth bound, so a crafted query drives the recursion deep enough to exhaust the available thread stack. The evidence does not name the specific internal component or the exact query construct that triggers it, so the precise grammar element or clause involved is unverified; what is confirmed is that the failure mode is stack exhaustion rather than heap pressure or a logic error, which on the JVM surfaces as a fatal error that terminates the node process instead of being caught and handled. Because search processing is distributed, the crash of a node affects cluster availability and can force shard relocation and recovery work proportional to cluster size. The CPE cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:* is unversioned, while the affected ranges are narrowed to 8.0.0-8.19.21, 9.4.0-9.4.7 and 9.5.0-9.5.4; the CVSS vector's PR:L places the attacker at an authenticated read-access level over the network, and no special deployment mode, SAPI or configuration is identified as a precondition.

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-reachable query requiring only read-level authentication (PR:L) with low complexity; impact is a node crash, so A:H with no confidentiality or integrity effect and unchanged scope.

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

An issue was discovered in Elasticsearch where a specially crafted search query can drive uncontrolled recursion in a specific internal component. An authenticated user with read access can submit a query that exhausts the available thread stack memory. This results in a fatal error that abruptly terminates the node process, leading to a denial of service.

Threat Intelligence Overview

EPSS Score
0.6%
Top 48% exploitable
Prevalence
High
Widely deployed enterprise search/analytics engine across many organizations
Social Media
1
Sightings
Data Quality
3 sources
Confidence: Low

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.6%
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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

33
Low Medium High Critical
KEV: 0
EPSS: +1
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