Medium · published August 14, 2026
Uncontrolled Recursion (CWE-674) in Elasticsearch can lead to denial of service via Input Data Manipulation (CAPEC-153). An authenticated user holding only low-privileged index creation permissions can submit a single request containing a specially crafted, malformed custom analysis definition that is resolved recursively without a cycle or depth check, 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 |