CVE-2024-51092 LibreNMS has an Authenticated OS Command Injection
Remote attackers can execute arbitrary code via OS command injection in LibreNMS network monitoring software.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-51092?
CVE-2024-51092 is a critical command injection vulnerability in Librenms Librenms, published on 8 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutController.php's index(), SettingsController.php's update(), and PollDevice.php's initRrdDirectory().
Weakness: CWE-78
Which versions are affected by CVE-2024-51092?
2 open source packages ship an affected version, including librenms/librenms. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
librenms/librenms Packagist | All versions | 24.10.0 |
librenms/librenms Packagist | All versions | 24.10.0 |
Products include Librenms Librenms.
How do I fix CVE-2024-51092?
Upgrade librenms/librenms to 24.10.0 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2024-51092 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-51092 exists.
Public exploit code: 1 Metasploit module.
Other vulnerabilities in Librenms Librenms
Sources
Also known as GHSA-x645-6pf9-xwxw.