Medium · published August 14, 2026
Uncontrolled Recursion (CWE-674) in Elasticsearch can lead to denial of service via Serialized Data with Nested Payloads (CAPEC-230). An authenticated user holding only read privileges on a single index can submit one specially crafted search request whose deeply nested structure is processed without a depth limit, exhausting the thread stack and terminating the affected node.
| Product | Versions | Fixed in |
|---|---|---|
| elastic/elasticsearch | ≥ 8.0.0, < 8.19.20 | 8.19.20 |
| elastic/elasticsearch | ≥ 9.0.0, < 9.4.5 | 9.4.5 |