Uncontrolled Recursion Affecting org.elasticsearch:elasticsearch package, versions [8.12.0,8.19.23)[9.0.0,9.4.7)[9.5.0,9.5.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.31% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGELASTICSEARCH-20937077
  • published14 Oct 2026
  • disclosed6 Oct 2026
  • creditUnknown

Introduced: 6 Oct 2026

NewCVE-2026-103008  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade org.elasticsearch:elasticsearch to version 8.19.23, 9.4.7, 9.5.5 or higher.

Overview

org.elasticsearch:elasticsearch is a Distributed, RESTful Search Engine.

Affected versions of this package are vulnerable to Uncontrolled Recursion in the process that builds and serializes geometry values from scripted runtime fields. An attacker can cause the server to exhaust stack space and terminate by submitting a request with a script that generates a deeply nested structure. This is only exploitable if the attacker is an authenticated user with read access to at least one index.

References

CVSS Base Scores

version 4.0
version 3.1