Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCompromise admin credentials
-
DeliveryAuthenticate to LibreNMS web interface
-
ExploitModify Binary Locations config with malicious paths
-
ExecutionTrigger Netcommand feature execution
-
PersistExecute arbitrary OS commands as web server user
-
ImpactCompromise underlying system
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | LibreNMS versions before 26.3.0. Attacker requires administrative privileges on LibreNMS. Exploitation abuses Binary Locations config and Netcommand feature to achieve remote code execution on the underlying web server. No user interaction needed. |
| Impact | While the CVSS 8.5 score indicates high severity with significant confidentiality and integrity impact (VC:H/VI:H), the real-world risk is moderated by the high privilege requirement (PR:H) - attackers must already possess administrative credentials to exploit this vulnerability. However, publicly available exploit code significantly lowers the technical barrier for post-compromise lateral movement or privilege escalation from web admin to system-level access. The CVSS vector shows low attack complexity (AC:L) and no user interaction required (UI:N), meaning exploitation is straightforward once admin access is obtained. This vulnerability is most dangerous in scenarios where LibreNMS administrative accounts are compromised through credential theft, phishing, or shared credentials. The attack is not automatable for initial access but becomes highly automatable for attackers who have already compromised admin credentials. From an SSVC perspective: exploitation status is public POC available, technical impact is total system compromise, and automatable is yes (for authenticated attackers). Priority should be high for organizations running LibreNMS, particularly those with multiple administrative users or where admin credential hygiene may be weak. The scope is unchanged (S:N in CVSS 4.0), limiting impact to the LibreNMS server itself rather than enabling pivoting, though compromise of a monitoring system often provides valuable reconnaissance data for broader network attacks. |
| Exploit ScenarioDerived | An attacker who has compromised LibreNMS administrative credentials (through phishing, credential stuffing, or insider threat) logs into the web interface and navigates to the Binary Locations configuration section. The attacker modifies legitimate binary paths to inject shell metacharacters or points entries to attacker-controlled executables uploaded to the web server. When the attacker or automated monitoring tasks trigger the Netcommand feature (used for network diagnostic tools like ping or traceroute), the malicious binary path configuration causes the web server to execute arbitrary commands with the privileges of the LibreNMS application user, typically www-data or similar. Publicly available exploit code from ProjectBlack (https://projectblack.io/blog/librenms-authenticated-rce-and-xss/#binary-path-rce-poc) provides step-by-step exploitation details, making this attack readily reproducible by moderately skilled attackers who have obtained admin access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 13, 2026
Remote code execution in LibreNMS network monitoring platform (versions prior to 26.3.0) allows authenticated administrators to execute arbitrary commands on the underlying web server by manipulating Binary Locations configuration settings combined with the Netcommand feature. This authenticated attack requires administrative privileges but has publicly available exploit code, enabling straightforward weaponization. CVSS 8.5 severity reflects high confidentiality and integrity impact with network-based attack vector and low complexity.
RemediationAI
Upgrade to LibreNMS version 26.3.0 or later, which contains patches addressing the Binary Locations and Netcommand command injection vulnerability. The fix can be obtained through standard LibreNMS update procedures including Git pull for source installations or container image updates for Docker deployments. Detailed remediation guidance is available in the GitHub Security Advisory at https://github.com/librenms/librenms/security/advisories/GHSA-pr3g-phhr-h8fh. As an interim workaround if immediate patching is not feasible, restrict administrative access to LibreNMS to only essential personnel, implement IP allowlisting for admin interface access, enable multi-factor authentication for administrative accounts, and monitor audit logs for unexpected changes to Binary Locations configuration or unusual Netcommand execution patterns. Review and rotate administrative credentials if unauthorized access is suspected. Given the availability of public exploit code, prioritize patching over temporary workarounds.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
LibreNMS is an open-source network monitoring and management system built on PHP. This vulnerability exploits CWE-78 (OS Command Injection) through two interconnected features: Binary Locations configuration (which defines paths to system executables) and Netcommand (which executes network diagnostic commands). The attack chain involves an authenticated administrator manipulating the Binary Locations configuration to point to attacker-controlled executables or inject malicious parameters, then triggering execution through the Netcommand feature. The CPE identifier cpe:2.3:a:librenms:librenms confirms the affected product is the LibreNMS application itself across all pre-26.3.0 versions. The CVSS 4.0 vector shows network accessibility (AV:N), low attack complexity (AC:L), no attack prerequisites (AT:N), and high privilege requirements (PR:H), indicating the attacker must already possess administrative credentials. The vulnerability represents a classic example of insufficient input validation and sanitization in configuration interfaces that interact with system command execution.
Know when Librenms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
LibreNMS versions before 26.3.0 are affected by an authenticated remote code execution vulnerability by abusing the Binary Locations config and the Netcommand feature. Successful exploitation requires administrative privileges. Exploitation could result in compromise of the underlying web server.
Executive ViewAI
LibreNMS versions prior to 26.3.0 contain a high-severity remote code execution vulnerability allowing authenticated administrators to execute arbitrary commands on the monitoring platform's web server through misconfiguration of binary location settings. Organizations running vulnerable LibreNMS instances face immediate risk of system compromise by privileged users, potentially enabling lateral movement and data exfiltration across monitored infrastructure.
Pending vendor release of patch version 26.3.0: (1) Restrict LibreNMS administrative console access via network segmentation to trusted administrative networks only; (2) Implement principle of least privilege-audit and remove unnecessary administrative roles; (3) Enable comprehensive logging and monitoring of all LibreNMS configuration changes, particularly binary location and netcommand modifications; (4) Segregate LibreNMS from production systems to limit lateral movement potential if compromise occurs.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
An issue was discovered in LibreNMS through 1.47. Rated high severity (CVSS 7.2), this vulnerability is remotely exploit
Librenms 21.11.0 is affected by a path manipulation vulnerability in includes/html/pages/device/showconfig.inc.php. Rate
An issue was discovered in LibreNMS through 1.47. Rated critical severity (CVSS 9.8), this vulnerability is remotely exp
Authentication bypass in the LibreNMS REST API (all versions before 26.8.0) lets unauthenticated remote attackers reach
SQL injection in LibreNMS 25.12.0 and below. PoC and patch available.
An issue was discovered in LibreNMS through 1.47. Rated critical severity (CVSS 9.1), this vulnerability is remotely exp
SQL injection in LibreNMS versions 25.12.0 and below allows authenticated users to extract sensitive database informatio
LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. Rated high severity (CVSS 8.8), this vulnera
An issue was discovered in LibreNMS before 1.65.1. Rated high severity (CVSS 8.8), this vulnerability is remotely exploi
An issue was discovered in LibreNMS 1.50.1. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable,
An issue was discovered in LibreNMS through 1.47. Rated high severity (CVSS 8.8), this vulnerability is remotely exploit
Command injection in LibreNMS's Virtualization Discovery module enables authenticated administrator-level users to execu
EUVD-2026-21908
GHSA-pr3g-phhr-h8fh
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB