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

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-01-21 · Modified: 2025-02-03
- Record: https://cvemate.com/vulnerability/CVE-2025-23196 · JSON: https://cvemate.com/vulnerability/CVE-2025-23196/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.294%, percentile 71.309%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache ambari: ≥ 8, \< 2.7.9
- apache ambari: \< 2.7.9

## References

- <https://lists.apache.org/thread/70g1l5lxvko7kvhyxmtmklhhfrlon837>
- <http://www.openwall.com/lists/oss-security/2025/01/21/8>

---

Data as of 2026-12-05T04:21:21.770Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
