CVE-2026-119150: Uncontrolled Recursion in Elasticsearch Leading to Denial of Service
An issue was discovered in Elasticsearch where a specially crafted search query can drive uncontrolled recursion in a specific internal component. An authenticated user with read access can submit a query that exhausts the available thread stack memory. This results in a fatal error that abruptly terminates the node process, leading to a denial of service.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 8.19.22 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 9.4.8 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 9.5.5
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated user with read access to Elasticsearch can exploit it by submitting a specially crafted search query. No user interaction is required.
What is the operational impact of successful exploitation?
The crafted query can exhaust available thread stack memory and trigger a fatal error. This abruptly terminates the affected node process, causing denial of service.
How can I determine whether an incident may have occurred?
Look for Elasticsearch node processes that terminated abruptly with fatal errors, particularly following search activity from authenticated read-access users. The provided information does not identify a specific log message or query pattern.