CVE-2026-84194

High

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.

SeverityHigh
CVSS8.6
Exploit probability—
ProductLibrenms
PublishedSep 1, 2026
First seenSep 1, 2026

How to fix

Update
  • librenms librenms26.4.0 or later

Affected products

ProductAffected versionsFixed in
librenms librenms23.10.0 ≤ v < 26.4.026.4.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.