Vulnerability · Published Sep 1, 2026 · Assigned by VulnCheck
CVE-2026-84194LibreNMS 23.10.0 before 26.4.0 OS Command Injection via Hostname
High 8.6
In plain English
A high-severity OS command injection in librenms from librenms. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 75% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-78 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L
References
- GitHub Security Advisory (GHSA-wff2-9gjr-95f3) vendor-advisory
- VulnCheck Advisory: LibreNMS 23.10.0 before 26.4.0 OS Command Injection via Hostname third-party-advisory