Vulnerability 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.
Related Weaknesses (CWE)
References
- https://github.com/librenms/librenms/security/advisories/GHSA-wff2-9gjr-95f3
- https://www.vulncheck.com/advisories/librenms-23.10.0-before-26.4.0-os-command-i
- https://github.com/librenms/librenms/security/advisories/GHSA-wff2-9gjr-95f3
FAQ
What is CVE-2026-84194?
CVE-2026-84194 is a documented vulnerability. 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...
How severe is CVE-2026-84194?
CVSS scoring is not yet available for CVE-2026-84194. Check NVD for updates.
Is there a patch for CVE-2026-84194?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.