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.
Published: 2026-08-13
Score: 6.5 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Thu, 13 Aug 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 13 Aug 2026 21:15:00 +0000

Type Values Removed Values Added
First Time appeared Elastic
Elastic elasticsearch
Vendors & Products Elastic
Elastic elasticsearch

Thu, 13 Aug 2026 19:30:00 +0000

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'}


Subscriptions

Elastic Elasticsearch
cve-icon MITRE

Status: PUBLISHED

Assigner: elastic

Published:

Updated: 2026-08-13T20:28:28.205Z

Reserved: 2026-08-10T11:17:35.480Z

Link: CVE-2026-72638

cve-icon Vulnrichment

Updated: 2026-08-13T20:28:24.109Z

cve-icon NVD

Status : Received

Published: 2026-08-13T20:17:24.310

Modified: 2026-08-13T21:18:09.270

Link: CVE-2026-72638

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T21:15:03Z

Weaknesses