Medium · published July 22, 2026
Uncontrolled Resource Consumption (CWE-400) in Elasticsearch can lead to denial of service via Exponential Data Expansion (CAPEC-197). An authenticated user may submit a specially crafted query to the ES|QL engine that causes exponential CPU consumption during query evaluation. Because the resource exhaustion persists beyond query completion, repeated requests can fully exhaust the available query worker resources, rendering ES|QL queries unavailable until the node is restarted.
| Product | Versions | Fixed in |
|---|---|---|
| elastic/elasticsearch | ≥ 8.0.0, < 8.19.19 | 8.19.19 |
| elastic/elasticsearch | ≥ 9.0.0, < 9.3.8 | 9.3.8 |
| elastic/elasticsearch | ≥ 9.4.0, < 9.4.4 | 9.4.4 |