CVE-2026-72638

Uncontrolled Recursion in Elasticsearch Leading to Denial of Service

Published Aug 13, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
Uncontrolled Recursion (CWE-674) in Elasticsearch can lead to denial of service via Input Data Manipulation (CAPEC-153). An authenticated user holding only low-privileged index creation permissions can submit a single request containing a specially crafted, malformed custom analysis definition that is resolved recursively without a cycle or depth check, exhausting the thread stack and terminating the affected node.

Analysis

AI-generated

Technical impact

Uncontrolled recursion in Elasticsearch (CWE‑674) allows an attacker who is authenticated but only has low‑privilege index‑creation rights to submit a specially crafted custom analysis definition that contains deeply nested recursive references. Because the resolver lacks a cycle or depth check, the processing exhausts the thread stack and causes the node to terminate. The result is a denial‑of‑service condition that impacts the availability of the affected cluster.

Affected Systems

The vulnerability affects Elastic's Elasticsearch product. Prior to the release of the recent security updates (Elasticsearch 8.19.20 and 9.4.5), all unsupported and supported minor releases are potentially vulnerable. The security advisory recommends upgrading to these fixed versions or later.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate severity, and the EPSS score is not available, while the vulnerability is not listed in CISA's KEV catalog. Because the exploit requires authentication with index‑creation rights, an attacker with that limited privilege could trigger the stack exhaustion, leading to node downtime. The lack of an EPSS score and non‑KEV status means there is currently no evidence of widespread exploitation, but the impact on availability makes this a noteworthy concern for organizations running Elasticsearch.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Elasticsearch to version 8.19.20 or later, or to 9.4.5 or later, to incorporate the security fix.
  • If upgrading is not immediately possible, revoke or restrict low‑privileged index‑creation permissions and enforce stricter validation or rejection of custom analysis definitions that could trigger deep recursion.
  • Monitor Elasticsearch node health and logs for abnormal stack consumption or crashes caused by malformed analysis definitions, and re‑upgrade when a compatible patch becomes available.

Generated by OpenCVE AI on August 13, 2026 at 21:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Elastic
Elastic elasticsearch
Vendors & Products Elastic
Elastic elasticsearch
Type Values Removed Values Added
Description Uncontrolled Recursion (CWE-674) in Elasticsearch can lead to denial of service via Input Data Manipulation (CAPEC-153). An authenticated user holding only low-privileged index creation permissions can submit a single request containing a specially crafted, malformed custom analysis definition that is resolved recursively without a cycle or depth check, exhausting the thread stack and terminating the affected node.
Title Uncontrolled Recursion in Elasticsearch Leading to Denial of Service
Weaknesses CWE-674
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
elastic
Published
Updated
Aug 13, 2026, 8:28 PM
Reserved
Aug 10, 2026, 11:17 AM
Status
Analyzed
Published
Aug 13, 2026, 8:17 PM
Modified
Sep 1, 2026, 2:21 PM