# CVE-2024-51941: Apache Ambari: Remote Code Injection in Ambari Metrics and AMS Alerts

- 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): 1.49%, higher than 74% of CVEs (2026-12-01)
- Published: 2025-01-21T21:24:23.360Z
- Modified: 2026-06-17T08:06:35.410Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: apache

## Description

A remote code injection vulnerability exists in the Ambari Metrics and 
AMS Alerts feature, allowing authenticated users to inject and execute 
arbitrary code. The vulnerability occurs when processing alert 
definitions, where malicious input can be injected into the alert script
 execution path. An attacker with authenticated access can exploit this 
vulnerability to execute arbitrary commands 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: up to 2.7.8
- apache ambari: up to 2.7.8

## References

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

## Sources

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

---

Page: https://cve.day/CVE-2024-51941 · Whole record: https://cve.day/CVE-2024-51941.json · Rebuilt by cve.day 2026-11-25T22:58:51.165Z
