CVE-2026-72686
Elasticsearch vulnerability analysis and mitigation

Overview

CVE-2026-72686 is an uncontrolled recursion vulnerability in Elastic's Elasticsearch that allows a low-privileged authenticated user to crash an Elasticsearch node via a single crafted request, resulting in a denial of service. It was published on August 13, 2026, and affects Elasticsearch versions 8.0.0 through 8.19.19, 9.0.0 through 9.4.4, and 9.5.0. Fixed versions (8.19.20, 9.4.5, and 9.5.1) are available. The vulnerability carries a CVSS v3.1 base score of 6.5 (Medium) (GitHub Advisory, Elastic Forum).

Technical details

The root cause is classified as CWE-674 (Uncontrolled Recursion): a specific internal Elasticsearch component validates user-supplied input using a recursive routine that imposes no bound on the length of the value being processed. When a sufficiently long or deeply nested crafted input is submitted, the recursive validation exhausts the JVM thread's stack, triggering a fatal stack overflow error. Critically, this fatal error is not caught or handled by the surrounding execution paths, causing the entire Elasticsearch node process to terminate rather than gracefully rejecting the request. Exploitation requires only low-level authenticated access and no user interaction, making it straightforward for any credentialed user to trigger (GitHub Advisory, Elastic Forum).

Impact

Successful exploitation results in a complete availability loss for the targeted Elasticsearch node, as the node process is forcibly terminated. In multi-node clusters, repeated exploitation could bring down multiple nodes, potentially disrupting the entire cluster and causing data ingestion and search service outages. There is no confidentiality or integrity impact — the vulnerability is purely a denial-of-service condition with no evidence of data exposure or unauthorized data modification (GitHub Advisory, Elastic Forum).

Exploitability

As of the disclosure date, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (Elastic Forum). The EPSS score is approximately 0.36%, placing it in the 29th percentile for exploitation likelihood within 30 days (GitHub Advisory). The NVD SSVC assessment classifies exploitation as "none" and the attack as non-automatable. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported.

Exploitation steps

  1. Authenticate: Obtain low-privileged credentials for the target Elasticsearch instance (e.g., a standard read or write user account).
  2. Craft malicious input: Construct a request containing user-supplied input of excessive length or deeply nested structure targeting the vulnerable internal validation component.
  3. Submit the request: Send a single HTTP request (e.g., via the Elasticsearch REST API) to the target node with the crafted payload.
  4. Trigger unbounded recursion: The internal validation routine processes the input recursively without bounds, exhausting the thread's stack.
  5. Node termination: The unhandled fatal stack overflow error causes the Elasticsearch node process to terminate, achieving denial of service. Repeat against additional nodes to disrupt the cluster (GitHub Advisory, Elastic Forum).

Indicators of compromise

  • Logs: Elasticsearch node logs showing java.lang.StackOverflowError or fatal JVM errors immediately preceding unexpected process termination; repeated errors from the same source IP or user account.
  • Process: Sudden, unexpected termination of the elasticsearch process without a graceful shutdown signal; process restart events in system logs (e.g., systemd or service manager logs).
  • Network: Unusual or repeated API requests from a low-privileged user account containing abnormally large or deeply nested input payloads in request bodies.
  • Cluster Health: Elasticsearch cluster health dropping to red or yellow due to node unavailability; cluster state logs indicating node departure events.

Mitigation and workarounds

Elastic has released patched versions 8.19.20, 9.4.5, and 9.5.1 that address this vulnerability; upgrading to one of these versions is the recommended remediation (Elastic Forum). As interim workarounds, restrict Elasticsearch access to trusted, known users only and implement network-level controls (e.g., firewall rules, API gateway authentication) to limit who can submit requests to the cluster. Monitor for unexpected node process terminations and configure alerting on Elasticsearch process crashes. Revoke or suspend low-privileged user accounts that do not require API access until patching is complete.

Community reactions

Elastic published a security advisory (ESA-2026-78) on their community forum announcing the patched releases (Elastic Forum). Tenable added detection coverage via Nessus plugin 338338 and pipeline issue tracking (Tenable Nessus). The NetEye blog published a security advisory for Elastic Stack 8 users in their environment (NetEye Blog). No significant social media controversy or notable independent researcher commentary has been observed beyond standard vulnerability tracking coverage.

Additional resources


SourceThis report was generated using AI

Related Elasticsearch vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-72649HIGH8.8
  • Elasticsearch logoElasticsearch
  • elasticsearch-fips-9.5
NoYesSep 01, 2026
CVE-2026-78607HIGH7.1
  • Elasticsearch logoElasticsearch
  • elasticsearch-9.5
NoYesSep 01, 2026
CVE-2026-72687MEDIUM6.5
  • Elasticsearch logoElasticsearch
  • elasticsearch-fips-9.5
NoYesAug 13, 2026
CVE-2026-78605MEDIUM5.9
  • Elasticsearch logoElasticsearch
  • elasticsearch
NoYesSep 01, 2026
CVE-2026-56143MEDIUM4.9
  • Elasticsearch logoElasticsearch
  • elasticsearch-8.19
NoYesSep 01, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management