Skip to content

CVE-2026-84194 LibreNMS 23.10.0 before 26.4.0 OS Command Injection via Hostname

HighCVSS 8.6 EPSS 1.5%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
PHP

Description

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
librenms/librenms >= 23.10.0, < 26.4.0 26.4.0 Fixed

Affected products

ProductAffected versionsFixed in
librenms/librenms >= 23.10.0, < 26.4.0 26.4.0

References