Elasticsearch 8.17.7, 8.18.2, 9.0.2 Security Update (ESA-2025-g9cq-g926)

Elasticsearch Arbitrary File Read via Malicious Machine Learning Model

An issue was discovered in Elasticsearch where a specially crafted machine learning model could read files accessible to the machine learning native inference process. An authenticated attacker with the manage_ml privilege could upload and deploy a malicious trained model and invoke inference to read files outside their authorized model access, potentially exposing sensitive information within the operating-system permissions of the inference process.

Affected Versions:

Elasticsearch / Machine Learning

  • 8.x:
    • All versions from 8.17.0 up to and including 8.17.6
    • All versions from 8.18.0 up to and including 8.18.1
  • 9.x: All versions from 9.0.0 up to and including 9.0.1

Solutions and Mitigations:

The issue is resolved in versions 8.17.7, 8.18.2, and 9.0.2.

Severity: CVSSv3.1: Medium ( 4.9 ) - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
CVE ID: CVE-2025-15710
Problem Type: CWE-862 - Missing Authorization
Impact: CAPEC-17 - Using Malicious Files