Skip to main content

Elasticsearch CVE-2026-72656

| EUVDEUVD-2026-58279 MEDIUM
Memory Allocation with Excessive Size Value (CWE-789)
2026-08-13 elastic GHSA-gpg2-7m3g-5qc5
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-privileged Elasticsearch credentials
  2. Delivery
    Submit crafted ES|QL query via HTTP API
  3. Exploit
    Trigger unbounded heap allocation in query engine
  4. Execution
    Exhaust JVM heap on target node
  5. Impact
    Node becomes unavailable, disrupting cluster operations

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory allocation limits
Exploitation Conditions

Exploitation requires a valid Elasticsearch user account with privileges sufficient to submit ES|QL queries - the CVSS PR:L metric confirms low-privilege authenticated access is sufficient and no administrative role is needed. The ES|QL query execution feature must be available on the target node, which is the default state for Elasticsearch 8.x deployments that support ES|QL. No special non-default configuration, specific plugin, or elevated role is required beyond basic query access. Exploitation is limited to causing high availability impact on the specific receiving node (S:U - no scope change); confidentiality and integrity of cluster data are not compromised. Multi-node clusters may sustain partial availability if not all nodes are targeted simultaneously. The primary limiting factor for attackers is possessing a valid Elasticsearch credential with ES|QL query permissions.

Impact

The CVSS vector AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H precisely characterizes this as a credentialed denial-of-service with no confidentiality or integrity consequence. The PR:L requirement - a valid, low-privileged Elasticsearch account - is the primary limiting factor and meaningfully reduces the attack surface compared to unauthenticated flaws. However, in multi-tenant Elasticsearch environments where external users or applications are granted query access, this requirement may be trivially satisfied. No EPSS score was provided in the input, so statistical exploitation probability cannot be quantified; the flaw is not listed in the CISA KEV catalog and no POC is known, suggesting opportunistic mass exploitation is not currently occurring. The scope is unchanged (S:U), meaning a successful attack is confined to the targeted node and does not cascade to compromise cluster confidentiality or integrity - though repeated targeting of multiple nodes could degrade cluster availability substantially. Even a mid-sized municipal IT team in inowroclaw operating an Elasticsearch cluster for log analytics should treat this as a priority patch given the low exploitation complexity once credentials are obtained. The real-world risk is highest for shared or SaaS-like deployments where ES|QL access is granted to untrusted authenticated users.

Exploit ScenarioDerived

An attacker holding a low-privileged Elasticsearch account - such as a read-only analytics user or a compromised application service account - submits a specially crafted ES|QL query via the standard HTTP API endpoint. The query triggers unbounded heap allocation during evaluation, progressively consuming all available JVM heap on the target node until the node becomes unresponsive and drops from the cluster. No public proof-of-concept code has been identified at time of analysis, but the low attack complexity suggests the query pattern may be straightforward to discover through fuzzing or review of the ES|QL parser.

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

ES|QL query processing in Elasticsearch allows an authenticated low-privileged user to exhaust heap memory on any receiving cluster node by submitting a specially crafted query, rendering that node unavailable. The CVSS 6.5 score (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) reflects remote, low-complexity exploitation requiring only a valid account, with high availability impact but no data exposure. Elastic has released fixes in versions 8.18.0 and 9.0.0 per advisory ESA-2026-111; no public exploit or active exploitation has been identified at time of analysis.

RemediationAI

Upgrade Elasticsearch to version 8.18.0 (for 8.x deployments) or 9.0.0 (for 9.x deployments), as documented in Elastic security advisory ESA-2026-111 at https://discuss.elastic.co/t/elasticsearch-8-18-0-9-0-0-security-update-esa-2026-111/389495. If an immediate upgrade is not possible, restrict ES|QL query execution privileges using Elasticsearch RBAC by removing the manage_index or query execution privileges from roles that do not require ES|QL access - this is the most targeted compensating control but may break existing analytics pipelines that rely on ES|QL. Additionally, tuning JVM heap settings and Elasticsearch circuit breaker thresholds (e.g., indices.breaker.total.limit) can reduce the blast radius by causing an earlier, controlled exception rather than full node exhaustion, though this does not prevent the attack. Network-level controls restricting which authenticated principals can reach the Elasticsearch HTTP API further reduce exposure in multi-tenant environments.

Affected VersionsENISA

Elasticsearch 8.11.0 ≤8.17.9

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's ES|QL (Elasticsearch Query Language) is a pipeline-based query language introduced in the 8.x series for analytics over data streams and indices. The vulnerability stems from CWE-789 (Memory Allocation with Excessive Size Value): the ES|QL query execution engine fails to enforce upper bounds on heap memory requested during query plan evaluation, enabling a CAPEC-130 (Excessive Allocation) attack pattern. When the engine processes certain query constructs, it allocates heap memory proportional to values or structures in the query without capping the allocation, causing unbounded JVM heap growth. The CPE cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:* indicates the flaw spans across all prior Elasticsearch versions with ES|QL support. Unlike Elasticsearch's Query DSL circuit breakers - which guard against result-set sizes - this flaw appears to bypass or predate those protections at the query planning or intermediate data structure layer.

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-delivered ES|QL query requires only a low-privilege account; no data exposure or integrity impact, only heap exhaustion with high availability consequence on the targeted node.

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

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

Memory Allocation with Excessive Size Value (CWE-789) in the ES|QL query processing of Elasticsearch can lead to denial of service via Excessive Allocation (CAPEC-130). An authenticated user able to submit ES|QL queries could send a specially crafted query whose evaluation allocates an unbounded amount of heap memory, exhausting the available heap on the receiving node and causing the node to become unavailable.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
High
widely deployed enterprise search and analytics platform across industries
Data Quality
7 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
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

Vendor StatusVendor

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