# CVE-2026-72649: Elasticsearch machine learning remote code execution via deserialization

Source: https://junglewise.ai/threats/cve-2026-72649-elasticsearch-machine-learning-remote-code-execution-via  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-01. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-72649 · Severity: high · CVSS 8.8 · Published 2026-09-01

Elasticsearch is a widely-used search and analytics platform. A flaw in its machine learning component allows authenticated users with model management privileges to upload specially crafted trained models that execute arbitrary code on the server. This could enable attackers with valid credentials to take complete control of an Elasticsearch cluster, compromising all indexed data and cluster availability.

Technologies: [Elasticsearch](https://junglewise.ai/threats/technologies/elasticsearch). Vendors: [Elastic](https://junglewise.ai/threats/vendors/elastic).

## Quick answers

**Is CVE-2026-72649 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-72649 being exploited in the wild.

**How severe is CVE-2026-72649?** High severity, with a CVSS score of 8.8, published 1 September 2026.

**Which products and versions are affected?** Elasticsearch 8.0.0 to 8.19.19, 9.0.0 to 9.4.4, 9.5.0.

**Is there a fix for CVE-2026-72649?** A patch was published on 2026-09-01: Fixed in Elasticsearch 8.19.20, 9.4.5, and 9.5.1 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-72649 attacked?** It is attacked over the network.

**Am I affected by CVE-2026-72649?** Check whether you run Elasticsearch at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability is a deserialization of untrusted data flaw (CWE-502) in Elasticsearch's machine learning component that enables object injection attacks (CAPEC-586). When a specially crafted trained model artifact is uploaded and deployed, attacker-controlled logic executes with elevated system-call privileges. Exploitation requires network access to an Elasticsearch cluster and valid credentials with sufficient permissions to create, upload, and deploy trained models. An authenticated attacker can achieve remote code execution with the privileges of the Elasticsearch process. Mitigation includes disabling machine learning or upgrading to patched versions 8.19.20, 9.4.5, or 9.5.1.

## Affected products

- Elastic Elasticsearch 8.0.0 to 8.19.19, 9.0.0 to 9.4.4, 9.5.0

## Timeline

- 2026-09-01: disclosed: CVE-2026-72649 published on NVD and ESA-2026-114 advisory released
- 2026-09-01: patched: Fixed in Elasticsearch 8.19.20, 9.4.5, and 9.5.1

## References

- [https://discuss.elastic.co/t/elasticsearch-8-19-20-9-4-5-9-5-1-security-update-esa-2026-114/390087](https://discuss.elastic.co/t/elasticsearch-8-19-20-9-4-5-9-5-1-security-update-esa-2026-114/390087)

## Related threats

- [Elasticsearch denial of service in phonetic analysis encoders](https://junglewise.ai/threats/cve-2026-115715-allocation-of-resources-without-limits-or-throttling-cwe-770-in)
- [Elasticsearch cache information disclosure via field-level security bypass](https://junglewise.ai/threats/cve-2026-115710-use-of-cache-containing-sensitive-information-cwe-524-in)
- [Elasticsearch incorrect authorization in field-level security](https://junglewise.ai/threats/cve-2026-115298-incorrect-authorization-cwe-863-in-elasticsearch-can-lead-to)
- [Elasticsearch uncontrolled recursion denial of service](https://junglewise.ai/threats/cve-2026-115290-uncontrolled-recursion-cwe-674-in-elasticsearch-can-lead-to)
- [Elasticsearch authorization bypass in cross-cluster search](https://junglewise.ai/threats/cve-2026-103009-authorization-bypass-through-user-controlled-key-cwe-639-in)
