Skip to content
NewA calmer, faster ZeroHour
Vulnerability4 · 1 read

CVE-2026-103008

Uncontrolled recursion DoS in Elasticsearch geometry scripts

CVSS 3.1
6.5 medium
EPSS
—
Published
·
Modified
Analyze CVE-2026-103008 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

Elasticsearch has an uncontrolled recursion flaw (CWE-674) in how it builds and serializes geometry values produced by scripted runtime fields. Geometry supplied as text is limited by a nesting-depth check, but geometry constructed from a script's output is not, so a specially crafted request can force the server to process an arbitrarily deep structure. An authenticated user who only has read access to a single index can define such a field; processing recurses until the node runs out of stack space and terminates. Availability impact is high: the node may not recover by itself and can need manual intervention, with no confidentiality or integrity impact. There is no known public proof of concept and the issue is not listed in CISA KEV.

What to do: Apply Elastic's security update for this issue as soon as a fixed Elasticsearch release is available for your deployment, and restart any nodes that have already crashed so service is restored. Until then, restrict who can create or query scripted runtime fields (especially geometry scripts) to trusted users, and review index privileges so untrusted accounts do not have read access they can use to submit such scripts. Watch cluster logs and process supervisors for nodes that exit from stack overflow and do not come back on their own.

ProductAffected
Elasticsearch—
Estimated exposure
largeTens of thousands of internet-exposed nodes, and a larger total of clusters and users (order of 10k–100k+ deployments) — Elasticsearch is a widely deployed search engine in self-managed clusters and Elastic Cloud; public internet scans have historically shown on the order of tens of thousands of reachable Elasticsearch nodes, with a much larger internal and…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

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.

Vendors
elastic
Products
elasticsearch
Weakness
CWE-674
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

In the news

2 stories