Description
luci-proto-openvpn through 0.11.1, fixed in commit e4ff45e, contains a command injection vulnerability in the generateKey ubus method where the cl_meta parameter is interpolated into a shell command without proper escaping or quoting. An authenticated LuCI user with OpenVPN protocol configuration access can inject arbitrary shell metacharacters into cl_meta to execute commands as root via the popen function.
Published: 2026-06-29
Score: 8.7 High
EPSS: 1.4% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the generateKey ubus method of luci. An authenticated LuCI user with OpenVPN configuration access can inject arbitrary shell metacharacters into the cl_meta parameter, which is interpolated directly into a shell command and executed with root privileges via popen. This results in full remote code execution, giving an attacker complete control over the host system.

Affected Systems

The flaw affects the OpenWrt luci-proto-openvpn component up to and including version 0.11.1. Users of this package before the fix applied in commit e4ff45e are at risk.

Risk and Exploitability

With a CVSS score of 8.7, this issue is classified as high severity, though the EPSS score is 1% and it is not yet listed in CISA’s KEV catalog. The required conditions for exploitation are an authenticated session through the LuCI web interface with OpenVPN configuration rights, making the attack path local but achievable from the device’s management interface. The lack of input sanitization makes the vulnerability easy to exploit for anyone who can log into the web interface.

Generated by OpenCVE AI on June 30, 2026 at 15:58 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade luci-proto-openvpn to the fixed revision (commit e4ff45e) to eliminate the command injection.
  • Restrict LuCI access to trusted administrators by applying firewall rules or disabling remote LuCI services.
  • If an upgrade is not immediately possible, remove or sanitize the cl_meta parameter handling to prevent shell injection paths.

Generated by OpenCVE AI on June 30, 2026 at 15:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 29 Jun 2026 23:45:00 +0000

Type Values Removed Values Added
First Time appeared Openwrt
Openwrt luci
Vendors & Products Openwrt
Openwrt luci

Mon, 29 Jun 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 29 Jun 2026 19:00:00 +0000

Type Values Removed Values Added
Description luci-proto-openvpn through 0.11.1, fixed in commit e4ff45e, contains a command injection vulnerability in the generateKey ubus method where the cl_meta parameter is interpolated into a shell command without proper escaping or quoting. An authenticated LuCI user with OpenVPN protocol configuration access can inject arbitrary shell metacharacters into cl_meta to execute commands as root via the popen function.
Title luci-proto-openvpn - Command Injection via cl_meta Parameter in generateKey
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-14T21:34:47.833Z

Reserved: 2026-06-26T17:58:05.796Z

Link: CVE-2026-58000

cve-icon Vulnrichment

Updated: 2026-06-29T19:21:01.497Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-30T16:00:15Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')