Home / Apache Software Foundation / Apache Ambari / CVE-2024-51941
CVE-2024-51941: is it exploited, and which versions of Apache Software Foundation Apache Ambari are affected and fixed?
CVE-2024-51941 is a code injection (remote code execution) vulnerability in Apache Software Foundation Apache Ambari. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: Apache Ambari through 2.7.8 (CVE record by apache). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (8.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:23 UTC.
What is CVE-2024-51941?
Apache Ambari: Remote Code Injection in Ambari Metrics and AMS Alerts
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.
From the CVE record by apache, last updated September 3, 2025, 08:07 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Ambari | through 2.7.8 |
As the CVE record by apache states it, last updated September 3, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | ambari | through 2.7.8 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 08:06 UTC.
How severe is CVE-2024-51941?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-51941 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, January 22, 2025)
- EPSS
- 1.49% probability of exploitation activity in the next 30 days, percentile 74.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
- https://lists.apache.org/thread/xq50nlff7o7z1kq3y637clzzl6mjhl8j vendor-advisory
- http://www.openwall.com/lists/oss-security/2025/01/21/9
Who found and reported it?
- 4ra1n (https://github.com/4ra1n) (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- November 4, 2024
- Published
- January 21, 2025, 21:24 UTC
- CVE record updated
- September 3, 2025, 08:07 UTC by apache
- NVD
- Analyzed, last modified June 17, 2026, 08:06 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:23 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Ambari?
- Jan 21, 2025CVE-2025-23196 Apache Software Foundation Apache Ambari: command injection
- Jan 21, 2025CVE-2025-23195 Apache Software Foundation Apache Ambari: XML external entity (XXE)
- Mar 1, 2024CVE-2023-50378 Apache Software Foundation Apache Ambari: cross-site scripting (XSS)
- Feb 27, 2024CVE-2023-50380 Apache Software Foundation Apache Ambari: XML external entity (XXE)
- Feb 27, 2024CVE-2023-50379 Apache Software Foundation Apache Ambari: code injection (remote code execution)
- Jul 12, 2023CVE-2022-45855 Apache Software Foundation Apache Ambari: improper Neutralization of Special Elements used in an Expression Language Statement
- Jul 12, 2023CVE-2022-42009 Apache Software Foundation Apache Ambari: improper Neutralization of Special Elements used in an Expression Language Statement
- Mar 17, 2021CVE-2020-13924 Apache Software Foundation Apache Ambari: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2024-51941
Is CVE-2024-51941 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 1.49% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Apache Software Foundation Apache Ambari are affected by CVE-2024-51941?
Apache Ambari through 2.7.8, per the CVE record by apache. The tables above give every range the sources list.
Which version fixes CVE-2024-51941?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2024-51941?
High (8.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2024-51941?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.