# CVE-2026-84194: LibreNMS 23.10.0 before 26.4.0 OS Command Injection via Hostname

- Severity: High 8.6 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.84%, higher than 79% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-01T11:33:57.794Z
- Modified: 2026-09-08T20:18:59.270Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- librenms librenms: from 23.10.0 before 26.4.0 (not affected: 26.4.0)

## References

- <https://github.com/librenms/librenms/security/advisories/GHSA-wff2-9gjr-95f3> (exploit, vendor-advisory)
- <https://www.vulncheck.com/advisories/librenms-23.10.0-before-26.4.0-os-command-injection-via-hostname> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-84194](https://www.cve.org/CVERecord?id=CVE-2026-84194), CVE Terms of Use, modified 2026-09-04
- NVD: [CVE-2026-84194](https://nvd.nist.gov/vuln/detail/CVE-2026-84194), Public domain, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-84194 · Whole record: https://cve.day/CVE-2026-84194.json · Rebuilt by cve.day 2026-11-25T22:59:35.925Z
