CVE-2026-63263 Overview
CVE-2026-63263 is an uncontrolled resource consumption vulnerability [CWE-400] in the Elasticsearch ES|QL query engine. An authenticated user can submit a specially crafted query that triggers exponential CPU consumption during evaluation, an instance of Exponential Data Expansion [CAPEC-197]. The resource exhaustion persists after the query completes. Repeated requests fully exhaust query worker resources, making ES|QL queries unavailable until the affected node is restarted. Elastic addressed the issue in security update ESA-2026-74, covering Elasticsearch versions 8.19.19, 9.3.8, and 9.4.4.
Critical Impact
Any authenticated Elasticsearch user can render the ES|QL query subsystem permanently unavailable on a node until administrators perform a manual restart.
Affected Products
- Elasticsearch versions prior to 8.19.19
- Elasticsearch 9.x versions prior to 9.3.8
- Elasticsearch 9.4.x versions prior to 9.4.4
Discovery Timeline
- 2026-07-22 - CVE-2026-63263 published to NVD
- 2026-07-22 - Last updated in NVD database
- 2026-07-22 - Elastic publishes security update ESA-2026-74
Technical Details for CVE-2026-63263
Vulnerability Analysis
The flaw resides in the ES|QL query engine, Elasticsearch's piped query language processor. A crafted ES|QL query produces exponential CPU work during evaluation, an algorithmic complexity issue often referred to as exponential data expansion. Because the resource exhaustion persists past the lifetime of the query, worker threads or associated state remain consumed after the request finishes. An attacker with a valid Elasticsearch account can issue such queries repeatedly. After enough requests, the pool of query worker resources is fully depleted, and further ES|QL queries fail across the node. Recovery requires a node restart. Confidentiality and integrity are not affected. The vulnerability targets availability of the ES|QL subsystem rather than the entire cluster process.
Root Cause
The root cause is missing bounds on the computational cost of certain ES|QL query constructs. The engine evaluates expressions or expansions that can grow exponentially relative to the input query size. Combined with query worker resources that are not released after the query terminates, this produces a cumulative exhaustion condition rather than a transient spike.
Attack Vector
Exploitation requires network access to the Elasticsearch API and valid authenticated credentials with permission to run ES|QL queries. No user interaction is required. An attacker submits a crafted ES|QL query through the standard query endpoint, then repeats the request until worker resources are exhausted. Because low-privilege authenticated access is sufficient, any user with query permissions on the cluster can trigger the condition. Refer to ESA-2026-74 for the vendor's technical writeup.
Detection Methods for CVE-2026-63263
Indicators of Compromise
- Sustained CPU saturation on Elasticsearch nodes traced to ES|QL query worker threads.
- ES|QL queries returning timeouts, rejections, or thread pool exhaustion errors while other query APIs remain responsive.
- Repeated ES|QL requests from a single authenticated principal with unusually complex or nested expressions.
Detection Strategies
- Monitor the esql thread pool and search worker pools for rising queue sizes and rejected task counts.
- Alert on individual ES|QL queries whose execution time or CPU cost exceeds an established baseline.
- Correlate authenticated user activity with ES|QL query volumes to identify abusive patterns from a single account or API key.
Monitoring Recommendations
- Enable Elasticsearch slow log for search and ES|QL, and forward the logs to a centralized analytics platform.
- Track node-level metrics for JVM CPU utilization, thread pool rejections, and query latency percentiles.
- Audit ES|QL usage through the security audit log to attribute expensive queries to specific users or service accounts.
How to Mitigate CVE-2026-63263
Immediate Actions Required
- Upgrade affected clusters to Elasticsearch 8.19.19, 9.3.8, or 9.4.4 as documented in ESA-2026-74.
- Review role definitions and revoke ES|QL query permissions from accounts that do not require them.
- Rotate API keys and credentials for any user found issuing anomalous ES|QL queries.
Patch Information
Elastic released fixed builds in Elasticsearch 8.19.19, 9.3.8, and 9.4.4. Administrators should follow the vendor's rolling upgrade procedure to apply the patch across all data and coordinating nodes. Confirm cluster health returns to green after each node upgrade before proceeding.
Workarounds
- Restrict ES|QL access using role-based access control until the patch is deployed.
- Place Elasticsearch behind an API gateway or proxy that enforces per-user rate limits on the ES|QL query endpoint.
- Configure alerting to automatically restart or isolate nodes that exhibit ES|QL worker exhaustion until patching is complete.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

