CVE-2025-25015 Kibana arbitrary code execution via prototype pollution

Critical 9.9 Published Updated

Attackers can achieve arbitrary code execution in Kibana via prototype pollution triggered by crafted file uploads and HTTP requests.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-25015?

CVE-2025-25015 is a critical code injection vulnerability in Elastic Kibana, published on 5 Mar 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Prototype pollution in Kibana leads to arbitrary code execution via a crafted file upload and specifically crafted HTTP requests. In Kibana versions >= 8.15.0 and < 8.17.1, this is exploitable by users with the Viewer role. In Kibana versions 8.17.1 and 8.17.2 , this is only exploitable by users that have roles that contain all the following privileges: fleet-all, integrations-all, actions:execute-advanced-connectors

Weakness: CWE-1321

Which versions are affected by CVE-2025-25015?

2 open source packages ship an affected version, including kibana and elk. It affects 1 product.

PackageAffectedFixed in
kibana BitnamiFrom 8.15.08.17.3
elk BitnamiFrom 8.15.08.17.3

Products include Elastic Kibana.

How do I fix CVE-2025-25015?

Upgrade kibana to 8.17.3 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2025-25015 being exploited?

There is no known exploitation of CVE-2025-25015 in the wild and no public exploit code.

All Elastic Kibana vulnerabilities

Sources

Also known as BIT-elk-2025-25015, BIT-kibana-2025-25015, GHSA-r96x-p6v3-j823.

Is CVE-2025-25015 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free