Skip to main content

Librenms EUVDEUVD-2026-21908

| CVE-2026-6204 HIGH
OS Command Injection (CWE-78)
2026-04-13 PRJBLK GHSA-pr3g-phhr-h8fh
8.5
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Compromise admin credentials
  2. Delivery
    Authenticate to LibreNMS web interface
  3. Exploit
    Modify Binary Locations config with malicious paths
  4. Execution
    Trigger Netcommand feature execution
  5. Persist
    Execute arbitrary OS commands as web server user
  6. Impact
    Compromise 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

librenms 0 <26.3.0

Affected Packages

composer librenms/librenms fix: 26.3.0
euvd librenms fix: 26.3.0

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

NVD PRIMARY 8.5 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
PoC Detected
Apr 22, 2026 - 19:47 vuln.today
Public exploit code
Patch released
Apr 15, 2026 - 02:30 nvd
Patch available
CVSS changed
Apr 13, 2026 - 11:22 NVD
8.5 (HIGH)
CVE Published
Apr 13, 2026 - 10:56 nvd
HIGH 8.5

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 96% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

62
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2019-10669 HIGH POC
7.2 Sep 09

An issue was discovered in LibreNMS through 1.47. Rated high severity (CVSS 7.2), this vulnerability is remotely exploit

CVE-2021-44278 CRITICAL POC
9.8 Dec 03

Librenms 21.11.0 is affected by a path manipulation vulnerability in includes/html/pages/device/showconfig.inc.php. Rate

CVE-2019-10665 CRITICAL POC
9.8 Sep 09

An issue was discovered in LibreNMS through 1.47. Rated critical severity (CVSS 9.8), this vulnerability is remotely exp

CVE-2026-86426 CRITICAL POC
9.2 Sep 07

Authentication bypass in the LibreNMS REST API (all versions before 26.8.0) lets unauthenticated remote attackers reach

CVE-2026-26988 CRITICAL POC
9.1 Feb 20

SQL injection in LibreNMS 25.12.0 and below. PoC and patch available.

CVE-2019-10668 CRITICAL POC
9.1 Sep 09

An issue was discovered in LibreNMS through 1.47. Rated critical severity (CVSS 9.1), this vulnerability is remotely exp

CVE-2026-26990 HIGH POC
8.8 Feb 20

SQL injection in LibreNMS versions 25.12.0 and below allows authenticated users to extract sensitive database informatio

CVE-2024-32461 HIGH POC
8.8 Apr 22

LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. Rated high severity (CVSS 8.8), this vulnera

CVE-2020-15877 HIGH POC
8.8 Jul 21

An issue was discovered in LibreNMS before 1.65.1. Rated high severity (CVSS 8.8), this vulnerability is remotely exploi

CVE-2019-12463 HIGH POC
8.8 Sep 09

An issue was discovered in LibreNMS 1.50.1. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable,

CVE-2019-10671 HIGH POC
8.8 Sep 09

An issue was discovered in LibreNMS through 1.47. Rated high severity (CVSS 8.8), this vulnerability is remotely exploit

CVE-2026-80214 HIGH POC
8.6 Aug 26

Command injection in LibreNMS's Virtualization Discovery module enables authenticated administrator-level users to execu

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy