Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain or possess read-level Elasticsearch credentials
-
DeliveryIdentify reachable Elasticsearch HTTP API endpoint
-
ExploitCraft search request with unbounded highlighting count parameter
-
InstallSubmit single HTTP request to target node
-
C2Node allocates unaccounted memory structure bypassing circuit breakers
-
ExecuteJVM heap exhausted, node process terminates
-
ImpactCluster routing and health degraded
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory allocation limits
|
| Exploitation Conditions | Authentication is required: the attacker must hold valid Elasticsearch credentials with at least read privileges (index-level read permission) on a minimum of one searchable index - anonymous or unauthenticated exploitation is not possible per the CVSS vector PR:L. The search highlighting feature must be available to the authenticated user's role, which is the default behavior for read-permitted users. No special Elasticsearch configuration, non-default plugin, or elevated privilege beyond basic read access is required. A single small HTTP search request is sufficient; exploitation is not volumetric and does not depend on index size. Factors limiting exploitation: valid credentials with read access must be obtained or held in advance; the attacker must have network reachability to the Elasticsearch HTTP API endpoint (typically port 9200); and the attack terminates the targeted node rather than providing code execution or data access. Cluster resilience (replica shards, remaining nodes) may mitigate availability impact in well-provisioned deployments. |
| Impact | The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H scores 6.5 and accurately reflects the real-world risk profile: low attack complexity but requiring authenticated access at read privilege level, with high availability impact and no confidentiality or integrity consequence. The non-volumetric nature - a single request causing node termination - elevates practical severity beyond what a moderate CVSS base score might suggest, since denial-of-service attacks typically require sustained traffic to be effective. This vulnerability requires only one request and is therefore highly reliable as an availability attack. No EPSS data was provided, preventing probabilistic exploitation likelihood assessment. No CISA KEV listing is present, and no public exploit code has been identified at time of analysis. The primary limiting factor is the PR:L requirement: an attacker must hold valid read credentials on at least one searchable index, making unauthenticated exploitation impossible. In multi-tenant or self-service Elasticsearch deployments where many users hold read access, the realistic attacker population is substantially larger than environments with tightly controlled credential issuance. |
| Exploit ScenarioDerived | An attacker with read credentials on any Elasticsearch index submits a single search request to the highlighting API, setting the count parameter to an arbitrarily large value such as Integer.MAX_VALUE. The node allocates the corresponding internal structure immediately, exhausting JVM heap before circuit breakers or highlighting safety limits can intervene, causing the node process to terminate with a fatal out-of-memory error. No existing public exploit code has been identified, but the attack requires only standard HTTP tooling and knowledge of the highlighting API parameter. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 13, 2026
Memory exhaustion in Elasticsearch's search highlighting subsystem allows any authenticated read-only user to terminate a node process with a single crafted request. The highlighting API accepts an unbounded user-supplied count, and the internal data structure allocated from that count is not tracked by Elasticsearch's circuit breaker system, bypassing the existing OOM safeguards entirely. The defect is non-volumetric - one small request is sufficient - and degrades cluster routing and health beyond the targeted node. No public exploit has been identified at time of analysis, though the low attack complexity and minimal privilege requirement make this a realistic internal threat.
RemediationAI
Upgrade to Elasticsearch 8.19.20, 9.4.5, or 9.5.1 as applicable to your release branch, per vendor security advisory ESA-2026-120 at https://discuss.elastic.co/t/elasticsearch-8-19-20-9-4-5-9-5-1-security-update-esa-2026-120/389503. These versions are inferred from the advisory URL and should be verified against the full advisory content before deployment. If immediate patching is not feasible, the most actionable compensating control is to restrict access to the search API for untrusted or low-privilege users at the network perimeter or via Elasticsearch role-based access control, limiting which roles can submit highlighting queries. Tightening index-level read privileges to the minimum necessary set reduces the attacker population. Note that these controls do not eliminate the vulnerability - they reduce exposure by narrowing who can reach the vulnerable code path. Disabling highlighting globally is not a standard Elasticsearch configuration option and would require application-layer enforcement. Monitor node heap usage and cluster health metrics for anomalous single-request spikes as a detection signal while patching is underway.
Affected VersionsENISA
Affected Packages
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 search highlighting feature allows callers to specify count-based parameters controlling how many highlight fragments are returned. CWE-789 (Uncontrolled Memory Allocation) identifies the root cause: the node allocates an internal data structure proportional to the user-supplied count without imposing an upper bound, and critically, this allocation occurs outside Elasticsearch's circuit breaker accounting framework. Circuit breakers are Elasticsearch's primary defense against runaway heap usage and are designed to reject or throttle operations that would exhaust JVM heap. Because the allocation precedes the point at which existing highlighting safety limits are evaluated, those limits provide no protection here. The result is a fatal JVM out-of-memory condition that terminates the node process rather than returning a controlled error. Affected products span all versions per CPE cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*, with fixes identified in the 8.x and 9.x release branches per the vendor advisory ESA-2026-120.
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
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
PR:L confirmed by read-only credential requirement; A:H reflects node process termination; C and I are N as no data access or modification occurs.
Primary rating from Vendor (elastic).
CVSS VectorVendor: elastic
DescriptionCVE.org
Elasticsearch does not enforce an upper bound on a user-supplied count accepted by a search highlighting option, and the allocation derived from that count is not accounted against any circuit breaker. An authenticated user holding only read privileges on a single searchable index can submit one small search request that causes the node to reserve an excessively large internal data structure. The allocation occurs before the existing highlighting safety limits are evaluated, so memory exhaustion raises a fatal error that terminates the Elasticsearch node process. This results in a denial of service for the affected node and degrades cluster routing and health. The defect is not volumetric and does not depend on the size of the indexed data, so a single request is sufficient.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Elasticsearch
View allThe Groovy scripting engine in Elasticsearch before 1.3.8 and 1.4.x before 1.4.3 allows remote attackers to bypass the s
The default configuration in Elasticsearch before 1.2 enables dynamic scripting, which allows remote attackers to execut
Directory traversal vulnerability in Elasticsearch before 1.6.1 allows remote attackers to read arbitrary files via unsp
Directory traversal vulnerability in Elasticsearch before 1.4.5 and 1.5.x before 1.5.2, when a site plugin is enabled, a
A flaw was discovered in Elasticsearch, affecting the _search API that allowed a specially crafted query string to cause
Maliciously crafted on-chain account names processed by Klever-Go prior to 1.7.20 are spliced into Elasticsearch _bulk r
All versions of Elastic Cloud Enterprise has the Elasticsearch “anonymous” user enabled by default in deployed clusters.
A memory disclosure vulnerability was identified in Elasticsearch 7.10.0 to 7.13.3 error reporting. Rated medium severit
Remote code execution in Elasticsearch's machine learning component allows an authenticated user with ML model deploymen
Heap corruption and potential remote code execution in Elasticsearch's native ML inference engine can be triggered by an
The fix for CVE-2020-7009 was found to be incomplete. Rated high severity (CVSS 8.8), this vulnerability is remotely exp
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
EUVD-2026-58285
GHSA-m2jm-f3w6-vg8c
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB