CVE-2026-58000

luci-proto-openvpn - Command Injection via cl_meta Parameter in generateKey

Published Jun 29, 2026 CVSS 4.0 · 8.7 High EPSS 1.7% KEV · Not listed
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.

Analysis

AI-generated

Technical 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 3% 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.

Remediation

No solution or workaround provided in the CVE record.

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 August 24, 2026 at 22:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Openwrt
Openwrt luci
Vendors & Products Openwrt
Openwrt luci
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-78

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 14, 2026, 9:34 PM
Reserved
Jun 26, 2026, 5:58 PM
Status
Deferred
Published
Jun 29, 2026, 7:16 PM
Modified
Oct 25, 2026, 9:10 PM