CVE-2024-38865 Livestatus command injection in RestAPI

Medium 6.0 Published Updated

Attackers with specific contact group permissions can execute arbitrary livestatus commands via the RestAPI endpoint in Checkmk.

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-2024-38865?

CVE-2024-38865 is a medium-severity command injection vulnerability in Checkmk Checkmk, published on 10 Apr 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Improper neutralization of livestatus command delimiters in a specific endpoint within RestAPI of Checkmk prior to 2.2.0p39, 2.3.0p25, and 2.1.0p51 (EOL) allows arbitrary livestatus command execution. Exploitation requires the attacker to have a contact group assigned to their user account and for an event to originate from a host with the same contact group or from an event generated with an unknown host.

Weakness: CWE-140

Which versions are affected by CVE-2024-38865?

It affects 1 product.

Products include Checkmk Checkmk.

How do I fix CVE-2024-38865?

No fix has been published for CVE-2024-38865 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-2024-38865 being exploited?

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

All Checkmk Checkmk vulnerabilities

Sources

Also known as GHSA-cc76-vj8r-jr9w, UBUNTU-CVE-2024-38865.

Is CVE-2024-38865 in your software?

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

Check your SBOMs for free