CVE-2026-72638: CWE-674 Uncontrolled Recursion in Elastic Elasticsearch
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.
AI Analysis
Technical Summary
This vulnerability in Elasticsearch arises from uncontrolled recursion in the handling of custom analysis definitions. Specifically, an authenticated user with limited permissions can craft a malformed analysis definition that causes recursive resolution without safeguards against cycles or excessive depth. This recursion exhausts the thread stack, causing the node to crash and resulting in denial of service. The issue is tracked as CWE-674 and is exploitable via input data manipulation (CAPEC-153). It affects Elasticsearch versions 8.0.0 and 9.0.0. The CVSS v3.1 score is 6.5, reflecting a network attack vector with low complexity and low privileges required, no user interaction, and impact limited to availability.
Potential Impact
Successful exploitation results in denial of service by crashing the affected Elasticsearch node due to stack exhaustion from uncontrolled recursion. There is no impact on confidentiality or integrity. The attacker requires authenticated access with low-privileged index creation permissions. No known active exploitation has been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict index creation permissions to trusted users only and monitor for unusual requests involving custom analysis definitions. No official remediation or temporary fix has been published by Elastic at this time.
CVE-2026-72638: CWE-674 Uncontrolled Recursion in Elastic Elasticsearch
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.
CVSS v3.1
Score 6.5medium
Affected software
pkg:maven/org.elasticsearch/elasticsearchRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in Elasticsearch arises from uncontrolled recursion in the handling of custom analysis definitions. Specifically, an authenticated user with limited permissions can craft a malformed analysis definition that causes recursive resolution without safeguards against cycles or excessive depth. This recursion exhausts the thread stack, causing the node to crash and resulting in denial of service. The issue is tracked as CWE-674 and is exploitable via input data manipulation (CAPEC-153). It affects Elasticsearch versions 8.0.0 and 9.0.0. The CVSS v3.1 score is 6.5, reflecting a network attack vector with low complexity and low privileges required, no user interaction, and impact limited to availability.
Potential Impact
Successful exploitation results in denial of service by crashing the affected Elasticsearch node due to stack exhaustion from uncontrolled recursion. There is no impact on confidentiality or integrity. The attacker requires authenticated access with low-privileged index creation permissions. No known active exploitation has been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict index creation permissions to trusted users only and monitor for unusual requests involving custom analysis definitions. No official remediation or temporary fix has been published by Elastic at this time.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- elastic
- Date Reserved
- 2026-08-10T11:17:35.480Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7e1a81bf8831d539b182bf
Added to database: 08/13/2026, 19:26:57 UTC
Last enriched: 08/13/2026, 19:59:29 UTC
Last updated: 08/13/2026, 22:41:16 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.