RCE in Apache Ambari

CVE-2025-23196

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.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.013 (66.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-23196?
CVE-2025-23196 is a high-severity vulnerability in Apache Ambari, classified under Command Injection. CVSS score: 8.8/10. Published 2025-01-21.
How severe is CVE-2025-23196?
High severity. CVSS v3 base score is 8.8 out of 10.