CVE-2022-46836 PHP code injection in watolib
An attacker can inject and execute arbitrary PHP code in Checkmk monitoring software, leading to full system compromise.
- 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-2022-46836?
CVE-2022-46836 is a critical code injection vulnerability in Checkmk Checkmk, published on 20 Feb 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
PHP code injection in watolib auth.php and hosttags.php in Tribe29's Checkmk <= 2.1.0p10, Checkmk <= 2.0.0p27, and Checkmk <= 1.6.0p29 allows an attacker to inject and execute PHP code which will be executed upon request of the vulnerable component.
Which versions are affected by CVE-2022-46836?
It affects 1 product.
Products include Checkmk Checkmk.
How do I fix CVE-2022-46836?
No fix has been published for CVE-2022-46836 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2022-46836 being exploited?
There is no known exploitation of CVE-2022-46836 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-2025-32919 Privilege Escalation in Windows License plugin for Checkmk Windows Agent
- CVE-2024-28827 Privilege escalation in Windows agent
- CVE-2024-28828 1-Click compromize via CSRF
Sources
Also known as GHSA-h9m9-95j2-cpmj, UBUNTU-CVE-2022-46836.