MODERATE 6.5

CVE-2026-103008

Uncontrolled Recursion in Elasticsearch Leading to Denial of Service

Description

Uncontrolled Recursion (CWE-674) in Elasticsearch can lead to Denial of Service via a specially crafted request that causes the server to construct and process a deeply nested data structure with no bound on recursion depth. Elasticsearch contains an uncontrolled recursion weakness in how it builds and serializes geometry values produced by scripted runtime fields. Unlike geometry supplied as text, which is subject to a nesting-depth limit, geometry constructed from a script's output is not bounded. An authenticated user with read access to a single index can submit a request defining such a field with a script that produces a deeply nested structure. Processing this request recurses past the available stack space, causing the affected node to terminate. The node does not recover automatically on all deployments and may require manual intervention to restore service.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.elasticsearch » elasticsearch
>= 8.12.0, <= 8.19.22>= 9.0.0, <= 9.4.7>= 9.5.0, <= 9.5.4
-

Blast radius

1affected artifacts
119affected versions
25dependent artifacts (est.)
1,083dependent versions

68% of the dependent artifacts (17) still pull an affected version in their latest release.

DepthDependent versions
Direct
415
2 hops
401
3 hops
253
4 hops
14

Most used dependents

Computed from the dependency graph of build 20261129.2353 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.