CVE-2024-51092

Published May 8, 2026 CVSS 3.1 · 9.1 Critical EPSS 7.2% KEV · Not listed
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().

Analysis

AI-generated

Technical impact

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().

Affected Systems

All installations of LibreNMS below version 24.10.0 are affected. The vulnerability is present in the code paths handled by AboutController, SettingsController, and the initRrdDirectory routine within PollDevice. Upgrading to 24.10.0 or later removes the insecure command‑handling code.

Risk and Exploitability

The vulnerability is rated high severity, with a CVSS score of 9.1, because it allows an attacker to run arbitrary system commands. The lack of authentication requirements is inferred from the description and typical web interface exposure. Its EPSS score of 7% indicates a low probability of exploitation, and it is not listed in the CISA KEV catalog. Attackers can reach the affected code paths via standard HTTP requests to the LibreNMS web interface, and if the application runs with elevated privileges, exploitation would lead to full system compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade LibreNMS to version 24.10.0 or newer to remove the vulnerable code paths.
  • If an upgrade is not immediately possible, restrict network access to the LibreNMS web interface so that only trusted users can reach the application endpoints.
  • Apply the following temporary code fix: Sanitize all user‑supplied input before passing it to system commands in AboutController.php, SettingsController.php, and PollDevice.php, ensuring no shell metacharacters are interpreted.

Generated by OpenCVE AI on June 18, 2026 at 04:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-x645-6pf9-xwxw LibreNMS has an Authenticated OS Command Injection
History
Type Values Removed Values Added
Title Web Interface OS Command Injection in LibreNMS Enabling Remote Code Execution
Type Values Removed Values Added
Title Web Interface OS Command Injection in LibreNMS Enabling Remote Code Execution
Type Values Removed Values Added
Title Remote OS Command Injection in LibreNMS Controllers
Type Values Removed Values Added
Title Remote OS Command Injection in LibreNMS Controllers
Type Values Removed Values Added
CPEs cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Title OS Command Injection in LibreNMS Before 24.10.0 Allowing Remote Code Execution
Type Values Removed Values Added
Title OS Command Injection in LibreNMS Before 24.10.0 Allowing Remote Code Execution
Type Values Removed Values Added
Title OS Command Injection in LibreNMS Enables Remote Code Execution Prior to 24.10.0
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Librenms
Librenms librenms
Vendors & Products Librenms
Librenms librenms
Type Values Removed Values Added
Title OS Command Injection in LibreNMS Enables Remote Code Execution Prior to 24.10.0
Weaknesses CWE-78
Type Values Removed Values Added
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().
References
Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
May 8, 2026, 2:11 PM
Reserved
Oct 28, 2024, 12:00 AM
Status
Analyzed
Published
May 8, 2026, 6:16 AM
Modified
Oct 27, 2026, 11:10 PM