CVE-2024-38865 Livestatus command injection in RestAPI
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.
Other vulnerabilities in Checkmk Checkmk
- CVE-2025-39666 omd: Local privilege escalation when executing omd commands as root
- CVE-2024-8606 Fix 2FA bypass via RestAPI
- CVE-2022-46836 PHP code injection in watolib
- CVE-2025-32919 Privilege Escalation in Windows License plugin for Checkmk Windows Agent
- CVE-2024-28827 Privilege escalation in Windows agent
Sources
Also known as GHSA-cc76-vj8r-jr9w, UBUNTU-CVE-2024-38865.