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

- 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-09-03
- Record: https://cvemate.com/vulnerability/CVE-2024-51941 · JSON: https://cvemate.com/vulnerability/CVE-2024-51941/json

## Description

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

## 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.488%, percentile 74.942%, 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: ≤ 2.7.8
- apache ambari: ≤ 2.7.8

## References

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

---

Data as of 2026-12-05T04:23:17.087Z. 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
