High · published September 2, 2026
Deserialization of Untrusted Data (CWE-502) in the Elasticsearch machine learning component can lead to remote code execution via Object Injection (CAPEC-586). A specially crafted trained model artifact could cause attacker-controlled logic to execute with a materially broader system-call surface than intended. Exploitation requires an authenticated user with sufficient privileges to create and deploy trained models.
| Product | Versions | Fixed in |
|---|---|---|
| elastic/elasticsearch | ≥ 8.0.0, < 8.19.20 | 8.19.20 |
| elastic/elasticsearch | ≥ 9.0.0, < 9.4.5 | 9.4.5 |
| elastic/elasticsearch | all versions | — |