RCE in Librenms
CVE-2026-84194
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
EPSS exploit prediction
EPSS: 0.015 (74.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 74th percentile — 74.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.014 · newest: 0.015 · change: +0.001
Affected products
Weakness classification (CWE)
References
- github.com/librenms/librenms/security/advisories/GHSA-wff2-9gjr-95f3 (vendor-advisory)
- www.vulncheck.com/advisories/librenms-23.10.0-before-26.4.0-os-command-injectio… (third-party-advisory)