CVE-2026-84194

HIGH CVSS 4.0: 8.6 EPSS 1.53%
Updated Sep 08, 2026
PHP
Parameter Value
CVSS 8.6 (HIGH)
Affected Versions 23.10.0 — 26.4.0
Fixed In 26.4.0
Type CWE-78 (OS Command Injection)
Vendor PHP
Public PoC No

LibreNMS versions >= 23.10.0 and < 26.2.0 (fixed in 26.4.0) contain an authenticated OS command injection vulnerability in libvirt discovery. When libvirt support is enabled (enable_libvirt=true), the device hostname ($this->getDevice()->hostname) is concatenated into shell commands (ssh, virsh list/dumpxml/domstate) in VminfoLibvirt.php and passed to exec() without escapeshellarg() or argument separation. An authenticated admin can set a crafted device hostname to inject arbitrary OS commands, leading to remote code execution in the discovery worker context.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
High
Admin privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Librenms Librenms
cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:*
23.10.0 26.4.0