CVE-2025-23196 Apache Ambari: Code Injection Vulnerability in Ambari Alert Definition
Authenticated attackers can inject shell commands via alert script filenames, leading to remote code execution on the server.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-23196?
CVE-2025-23196 is a high-severity command injection vulnerability in Apache Ambari, published on 21 Jan 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A code injection vulnerability exists in the Ambari Alert Definition feature, allowing authenticated users to inject and execute arbitrary shell commands. The vulnerability arises when defining alert scripts, where the script filename field is executed using `sh -c`. An attacker with authenticated access can exploit this vulnerability to inject malicious commands, leading to remote code execution on the server. The issue has been fixed in the latest versions of Ambari.
Weakness: CWE-77
Which versions are affected by CVE-2025-23196?
It affects 1 product.
Products include Apache Ambari.
How do I fix CVE-2025-23196?
No fix has been published for CVE-2025-23196 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2025-23196 being exploited?
There is no known exploitation of CVE-2025-23196 in the wild and no public exploit code.
Other vulnerabilities in Apache Ambari
- CVE-2017-5642 Misconfiguration in Apache Ambari
- CVE-2014-3582 Command injection in n/a
- CVE-2016-6807 Apache Ambari Improper Access Control
- CVE-2024-51941 Apache Ambari: Remote Code Injection in Ambari Metrics and AMS Alerts
- CVE-2023-50379 Apache Ambari: authenticated users could perform command injection to perform RCE
Sources
Also known as GHSA-37rh-2c9j-68mm.