Description
Uncontrolled Recursion (CWE-674) in Elasticsearch can lead to denial of service via a specially crafted search request submitted by a low-privileged authenticated user. A user with read-level index access can submit a request that triggers unbounded recursive processing within the Elasticsearch query evaluation component, causing a fatal error that terminates the affected node. In single-node deployments, this results in complete service outage; in multi-node clusters, it causes repeated node restarts and sustained availability degradation.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Elastic | Elasticsearch | 9.4.0 – ≤ 9.4.3, 9.3.0 – ≤ 9.3.7, 8.19.0 – ≤ 8.19.18 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | ruby3.2-elasticsearch +3 | 9.5.0-r0 | — |
Advisories 1
- WID-SEC-2026-2457 Elasticsearch: Mehrere Schwachstellen ermöglichen DoS und die Offenlegung von Informationen BSI CERT-Bund (WID) · Jul 21, 2026