Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain administrator credentials via phishing or credential reuse
-
DeliveryGain server filesystem write access via SSH or auxiliary vulnerability
-
ExploitStage malicious executable in world-writable directory
-
ExecutionModify snmpget config via PUT /settings/snmpget
-
PersistRequest GET /about endpoint
-
Impactshell_exec() invokes malicious binary with web server privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK
1 technique 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 | Exploitation requires an active LibreNMS session with administrator-level privileges and the ability to place a valid executable file at a known path on the server filesystem - the configured snmpget value must pass is_file() and is_executable() checks, so the target must be a real, accessible binary. The attacker must separately obtain write access to the server to stage the malicious executable (via SSH, another file-upload vulnerability, or an existing world-writable path containing a controllable binary), then trigger a GET request to /about to invoke shell_exec(). Exploitation is limited by: the requirement for admin-level authentication rather than any authenticated user; the need to pre-stage an executable on the server through a separate access mechanism; and the character filter in sanitizePath(), which blocks direct shell metacharacter injection even in its broken state, requiring a clean filesystem path. No non-default configuration is required beyond possessing administrator access to a vulnerable LibreNMS instance. |
| Impact | Real-world risk is substantial but constrained by the administrator privilege requirement, which limits direct exploitation to insiders, compromised admin sessions, or attackers who have escalated via a separate vulnerability. The supplied CVSS 4.0 vector specifies PR:L, which directly conflicts with both the GHSA advisory and the vulnerability description, both of which explicitly state 'Privileges Required: High (Administrator)' - analysts should treat the effective privilege bar as high, corresponding to a CVSS 3.1 base score of approximately 7.2, not any calculation derived from PR:L. EPSS data is absent from the available intelligence and the vulnerability is not in CISA KEV, so no confirmed active exploitation is known at time of analysis. Despite these mitigating factors, any LibreNMS deployment should treat this as an urgent patching priority: administrator accounts on network monitoring platforms are high-value targets with broad access to infrastructure credentials, and a compromised admin credential or malicious insider can achieve full host compromise with minimal technical barrier once an executable is staged on the server. |
| Exploit ScenarioDerived | An attacker who has obtained LibreNMS administrator credentials - through credential stuffing, phishing, or a prior vulnerability - writes a malicious shell script or binary to a world-writable directory on the server (e.g., /tmp/evil.sh), then updates the snmpget configuration via PUT /settings/snmpget to reference that path. On the next request to the /about endpoint, LibreNMS executes the malicious binary as the web server process, granting the attacker a reverse shell or enabling bulk credential exfiltration from the network monitoring database. No publicly available exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 01, 2026
Remote code execution in LibreNMS versions before 26.5.0 stems from the AboutController passing the snmpget configuration value directly to shell_exec() with a validation mechanism rendered ineffective by a PHP assignment operator bug. An authenticated administrator can update the snmpget setting to reference any executable already present on the server filesystem, then trigger code execution by visiting the /about endpoint, yielding full host compromise under web server privileges. No public exploit has been identified and this vulnerability is absent from CISA KEV; vendor-released patch 26.5.0 is available.
RemediationAI
Upgrade LibreNMS to version 26.5.0 or later, which is the vendor-confirmed fix documented in GHSA advisory GHSA-jf24-8g2h-2wg7 (https://github.com/librenms/librenms/security/advisories/GHSA-jf24-8g2h-2wg7) and the VulnCheck advisory (https://www.vulncheck.com/advisories/librenms-before-26.5.0-remote-code-execution-via-aboutcontroller). If immediate upgrade is not possible, restrict access to the LibreNMS web interface to trusted internal network segments and enforce multi-factor authentication on all administrator accounts to raise the credential-compromise bar - these controls reduce exploitation likelihood but do not eliminate the underlying flaw. Audit the current snmpget configuration value on all instances to confirm it points to the expected system binary (typically /usr/bin/snmpget) rather than an unexpected path, as part of incident response triage. Limiting database write access for the LibreNMS web process can serve as a compensating control but introduces significant operational complexity and may break legitimate configuration workflows.
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 a PHP-based open-source network monitoring platform (CPE: cpe:2.3:a:librenms:librenms:*). The vulnerability resides in app/Http/Controllers/AboutController.php (line 85), where the snmpget config value is concatenated with ' -V 2>&1' and passed to shell_exec() - a textbook CWE-77 (Improper Neutralization of Special Elements Used in a Command) pattern. A sanitizePath() method in LibreNMS/Util/DynamicConfigItem.php attempts to reject shell metacharacters and confirm the path is a real, executable file, but contains a critical PHP bug: it uses the comparison operator '==' instead of the assignment operator '=' when storing the sanitized result, so the validated path is never written back to $value and the original user-controlled string proceeds unchecked to is_file() and is_executable(). Even if the assignment bug were corrected, the design permits any executable on the filesystem - including attacker-staged binaries in world-writable directories - because the filter blocks only metacharacter injection, not arbitrary-path substitution.
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:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable via web UI but requires administrator authentication (PR:H); no confidentiality, integrity, or availability headroom is left once arbitrary command execution is achieved.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
LibreNMS versions before 26.5.0 contain a remote code execution vulnerability in the AboutController where the snmpget configuration parameter is passed to shell_exec() without proper validation. An authenticated administrator can modify the snmpget configuration to point to a malicious executable file and trigger code execution by accessing the /about endpoint.
Technical POC Analysis
CWE-77 (Improper Neutralization of Special Elements used in a Command); the advisory also maps CWE-78.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
LibreNMS network monitoring systems running versions before 26.5.0 can be compromised through the administrative interface, granting any attacker with administrative access full server control; no public exploits have been identified. This threatens network monitoring integrity and could enable attackers to establish persistent infrastructure footholds and compromise broader operations.
Apply vendor patch: LibreNMS 26.5.0 or later.
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-69027
GHSA-p7jp-qp65-h4xf
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB