CVE-2026-84194
published high CVSS 4.0 · 8.6LibreNMS 23.10.0 before 26.4.0 OS Command Injection via Hostname
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| librenms | — | librenms23.10.0 to < 26.4.0 (affected · semver) · 26.4.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| librenms | librenms | 23.10.0 to < 26.4.0 (affected · semver)26.4.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
2- GitHub Security Advisory (GHSA-wff2-9gjr-95f3) https://github.com/librenms/librenms/security/advisories/GHSA-wff2-9gjr-95f3
- VulnCheck Advisory: LibreNMS 23.10.0 before 26.4.0 OS Command Injection via Hostname https://www.vulncheck.com/advisories/librenms-23.10.0-before-26.4.0-os-command-injection-via-hostname
Provider assertions
2VulnCheck · cna
LibreNMS 23.10.0 before 26.4.0 OS Command Injection via Hostname
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5d353e0a935a1f7bbc06bff62713f491ec923d9558941da95914498d074ae3a8
- Ingested
- 23 Sep 2026, 09:36:16 UTC
- Source record
- Official CVE record