OS Command Injection in LibreNMS - #VU140844
Published: August 4, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary OS commands.
The vulnerability exists due to command injection in VminfoLibvirt.php when processing a device hostname during libvirt discovery. A remote privileged user can supply a crafted hostname and trigger discovery to execute arbitrary OS commands.
Only instances with libvirt support enabled are vulnerable, and code execution occurs in the discovery worker context as the librenms user.