MODERATE 6.5

CVE-2026-103006

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, deeply nested request submitted to the aggregation feature of the search API. Elasticsearch contains an uncontrolled recursion weakness in its search aggregation processing. An authenticated user with read access to a single index can submit a specially crafted request containing deeply nested aggregation definitions. Processing this request triggers unbounded recursive execution that exhausts the server process's available resources, causing the affected node to terminate. The node does not recover automatically and requires manual intervention to restore service.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.elasticsearch » elasticsearch
>= 8.0.0, <= 8.19.20>= 9.0.0, <= 9.4.5>= 9.5.0, <= 9.5.1
-

Blast radius

1affected artifacts
155affected versions
27dependent artifacts (est.)
1,813dependent versions

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

DepthDependent versions
Direct
691
2 hops
642
3 hops
460
4 hops
20

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.