CVE-2024-51092 LibreNMS has an Authenticated OS Command Injection

Critical 9.1 Published Updated

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.

PackageAffectedFixed in
librenms/librenms PackagistAll versions24.10.0
librenms/librenms PackagistAll versions24.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.

All Librenms Librenms vulnerabilities

Sources

Also known as GHSA-x645-6pf9-xwxw.

Is CVE-2024-51092 in your software?

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

Check your SBOMs for free