CVE-2026-84194
JSON

8.6high

LibreNMS 23.10.0 before 26.4.0 OS Command Injection via Hostname

Severity
8.6high CVSS:4.0 by VulnCheck
Exploit likelihood
1.84% (higher than 79% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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

Product or packageVersionsReported by
librenms librenmsfrom 23.10.0 before 26.4.0
Not affected: 26.4.0
CVE List

Classification

CWE-78

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-84194 changed 2026-09-04CVE Terms of Use
NVDCVE-2026-84194 changed 2026-09-08Public domain