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

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.04%, higher than 82% of CVEs (2026-11-30)
- Published: 2025-01-21T21:23:41.389Z
- Modified: 2026-06-17T08:52:33.017Z
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Ambari: from 8 before 2.7.9
- apache ambari: before 2.7.9

## References

- <https://lists.apache.org/thread/70g1l5lxvko7kvhyxmtmklhhfrlon837> (vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2025/01/21/8> (mailing-list, vendor-advisory)

## Sources

- CVE List: [CVE-2025-23196](https://www.cve.org/CVERecord?id=CVE-2025-23196), CVE Terms of Use, modified 2025-02-03
- NVD: [CVE-2025-23196](https://nvd.nist.gov/vuln/detail/CVE-2025-23196), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-23196 · Whole record: https://cve.day/CVE-2025-23196.json · Rebuilt by cve.day 2026-11-25T22:58:53.500Z
