CVE-2026-72642

8.8

Elastic · Elasticsearch

Elasticsearch contains an out-of-range pointer offset vulnerability in its native machine learning inference process, potentially allowing unauthorized memory access.

Executive summary

A memory safety flaw in the Elasticsearch native inference process could allow an authenticated attacker to gain high-impact system control.

Vulnerability

This vulnerability involves an out-of-range pointer offset (CWE-823) within the native inference process used for machine learning models. An authenticated attacker can supply a malicious model operation to trigger memory corruption, requiring low privileges to execute.

Business impact

The vulnerability carries a CVSS score of 8.8, indicating a high potential for total compromise. Successful exploitation could lead to arbitrary code execution, resulting in the full loss of confidentiality, integrity, and availability of the database server and sensitive data stored within the environment.

Remediation

Immediate Action: Upgrade to Elasticsearch versions 8.19.20, 9.4.5, 9.5.1, or later as specified in the vendor security advisory.

Proactive Monitoring: Monitor database logs for unusual errors related to machine learning inference tasks or unexpected process crashes that might indicate exploitation attempts.

Compensating Controls: Implement strict access control policies to limit which users can upload or manage machine learning models, as the exploit requires authenticated access to trigger the malicious operation.

Exploitation status

Public Exploit Available: No

Analyst recommendation

Given the high severity of this memory corruption flaw, organizations should prioritize patching their Elasticsearch deployments immediately. Restricting the ability of users to upload custom machine learning models will serve as a vital interim security measure until the update can be applied.