CVE-2025-25014 Kibana arbitrary code execution via prototype pollution
Attackers can execute arbitrary code in Kibana by exploiting prototype pollution in machine learning and reporting endpoints via crafted HTTP requests.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-25014?
CVE-2025-25014 is a critical code injection vulnerability in Elastic Kibana, published on 6 May 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
A Prototype pollution vulnerability in Kibana leads to arbitrary code execution via crafted HTTP requests to machine learning and reporting endpoints.
Weakness: CWE-1321
Which versions are affected by CVE-2025-25014?
2 open source packages ship an affected version, including kibana and elk. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
kibana Bitnami | From 8.3.0 | 8.17.6, 8.17.10, 9.0.1 |
elk Bitnami | From 8.3.0 | 8.18.1, 9.0.1 |
Products include Elastic Kibana.
How do I fix CVE-2025-25014?
Upgrade kibana to a fixed version for your release line: 8.17.6, 8.17.10 or 9.0.1.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-25014 being exploited?
There is no known exploitation of CVE-2025-25014 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Elastic Kibana
Sources
Also known as BIT-elk-2025-25014, BIT-kibana-2025-25014, GHSA-xpp5-m7fr-wp25.