CVE-2026-103008

Uncontrolled Recursion in Elasticsearch Leading to Denial of Service

State
Published
Severity
6.5 Medium
Published
Oct 6, 2026
Updated
Oct 6, 2026
Reserved
Sep 29, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:Helastic

Weaknesses

Affected Products

ProductVersions
ElasticsearchElastic
  • 8.12.0 through 8.19.22Affected
  • 9.0.0 through 9.4.7Affected
  • 9.5.0 through 9.5.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.