What’s Vulnerable › Vulnerabilities

CVE-2025-23196: Apache Ambari: Code Injection Vulnerability in Ambari Alert Definition

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.

Affected products

How to fix

Upgrade to a fixed version: Apache Software Foundation Apache Ambari 2.7.9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-23196 or the next vulnerability affects your stack