CVE-2026-84194
Received Received - Intake

Authenticated OS Command Injection in LibreNMS via Libvirt Hostname

Vulnerability report for CVE-2026-84194, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-01

Last updated on: 2026-09-01

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-01
Last Modified
2026-09-01
Generated
2026-09-01
AI Q&A
2026-09-01
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
librenms librenms From 23.10.0 (inc) to 26.2.0 (exc)
librenms librenms 26.4.0
librenms librenms From 23.10.0 (inc) to 26.4.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-84194 is an authenticated OS command injection vulnerability in LibreNMS affecting versions 23.10.0 to 26.2.0. The flaw exists in the libvirt discovery feature where an authenticated admin can inject arbitrary OS commands via the device hostname. The hostname is concatenated into shell commands in VminfoLibvirt.php without proper escaping, leading to remote code execution in the discovery worker context.

Detection Guidance

Check if your LibreNMS version is between 23.10.0 and 26.2.0 by running: librenms-version or checking the web interface. Verify if libvirt support is enabled by inspecting the config.php file for enable_libvirt=true. Look for suspicious device hostnames in the database or logs that contain command injection patterns like semicolons or backticks.

Impact Analysis

An attacker can execute commands as the LibreNMS user, read configuration files or secrets, modify the monitoring environment, and potentially move laterally within the network. Exploitation requires an authenticated admin to set a crafted device hostname containing a command injection payload.

Compliance Impact

This vulnerability could lead to unauthorized access and execution of commands on the system hosting LibreNMS. For GDPR, it may result in unauthorized data access or processing, violating principles of data protection and security. For HIPAA, it could allow exposure of protected health information if the system monitors healthcare environments.

Mitigation Strategies

Upgrade LibreNMS to version 26.4.0 or later immediately. Disable libvirt support by setting enable_libvirt=false in config.php if not required. Review all device hostnames for suspicious entries and remove any with command injection payloads. Restrict admin access to the LibreNMS interface to minimize exploitation risk.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-84194. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart