Skip to content
ElasticCVE-2026-72642

Elasticsearch: code execution

High8.8CVE-2026-72642 · Published Aug 13, 2026 · updated Sep 1, 2026

The native inference process that Elasticsearch uses to evaluate uploaded machine learning models accepts a model operation that computes a memory address from an offset supplied inside the model, without validating that the offset stays within the bounds of the underlying storage. A user with the privileges required to upload and deploy a trained model can craft a model that reads and writes memory outside the intended allocation. The result is heap corruption that crashes the inference process, and, with sufficient control over the heap layout, could allow arbitrary code execution in the context of that process.

Elastic advisory

Affected versions

PackageAffectedFixed in
Elasticsearch
Product
>= 8.19.0, <= 8.19.19No fix yet
>= 9.4.0, <= 9.4.4No fix yet
<= 9.5.0No fix yet
Details and references

More Elastic advisories

All Elastic
Advisory
Elasticsearch: denial of service
Medium6.5Aug 13
A flaw in Elasticsearch
Medium4.3Aug 13
Elasticsearch: denial of service
Medium6.5Aug 13
Elasticsearch: denial of service
Medium6.5Aug 13
Elastic Kibana: denial of service
Medium6.5Aug 13
Elastic Kibana: missing authorization
High7.1Aug 13

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.