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)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.elasticsearch » elasticsearch | >= 8.12.0, <= 8.19.22>= 9.0.0, <= 9.4.7>= 9.5.0, <= 9.5.4 | - |
Blast radius
68% of the dependent artifacts (17) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 415 |
| 2 hops | 401 |
| 3 hops | 253 |
| 4 hops | 14 |
Most used dependents
- org.elasticsearch.test » framework92 usages
- org.geonetwork-opensource » gn-services8 usages
- org.geonetwork-opensource » gn-harvesters4 usages
- org.geonetwork-opensource » gn-csw-server3 usages
- org.geonetwork-opensource » gn-wfsfeature-harvester3 usages
- org.geonetwork-opensource » gn-web-app2 usages
- io.camunda » camunda-zeebe2 usages
- io.spinnaker.clouddriver » clouddriver-elasticsearch1 usages
- io.spinnaker.clouddriver » clouddriver-web1 usages
- org.elasticsearch.plugin » x-pack-esql-compute1 usages
- org.elasticsearch » elasticsearch-swisshash1 usages
- org.geonetwork-opensource » gn-health-monitor1 usages
- org.geonetwork-opensource » gn-inspire-atom1 usages
- io.camunda » tasklist-webapp1 usages
- org.geonetwork-opensource » gn-camel-periodic-producer1 usages
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.
References
| Advisory | CVE record CVE-2026-103008 | github.com |
| Advisory | NVD CVE-2026-103008 | nvd.nist.gov |
| Web | t/elasticsearch-8-19-23-9-4-8-9-5-5-security-update-esa-2026-198/390872 | discuss.elastic.co |
