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.
Upgrade Elasticsearch / Machine Learning versions 9.0.0 through 9.0.1 to 9.0.2.