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

High 8.8 Published Updated

Authenticated attackers can inject shell commands via alert script filenames, leading to remote code execution on the server.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-23196?

CVE-2025-23196 is a high-severity command injection vulnerability in Apache Ambari, published on 21 Jan 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-77

Which versions are affected by CVE-2025-23196?

It affects 1 product.

Products include Apache Ambari.

How do I fix CVE-2025-23196?

No fix has been published for CVE-2025-23196 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-23196 being exploited?

There is no known exploitation of CVE-2025-23196 in the wild and no public exploit code.

Sources

Also known as GHSA-37rh-2c9j-68mm.

Is CVE-2025-23196 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free