Severity by source
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Network-reachable ubus method, low complexity, requires an authenticated OpenVPN-config LuCI user (PR:L), and root command execution gives full C/I/A impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
AnalysisAI
Root command injection in OpenWrt's LuCI web interface (luci-proto-openvpn through 0.11.1) lets an authenticated user with OpenVPN protocol configuration access run arbitrary commands as root. The flaw lives in the generateKey ubus method, where the cl_meta parameter is passed unescaped into a popen() shell call. No public exploit has been identified at time of analysis, but a vendor advisory (GHSA-pm9w-522m-8rrh) and fix commit exist, and the CVSS 4.0 score of 8.7 reflects full confidentiality, integrity, and availability impact on the affected device.
Technical ContextAI
LuCI is the default Lua/JavaScript web administration framework shipped on OpenWrt embedded Linux devices, and luci-proto-openvpn is the LuCI sub-module that exposes OpenVPN as a configurable network protocol. The vulnerability is a classic CWE-78 OS command injection: the generateKey method exposed over ubus (OpenWrt's micro bus IPC layer) builds a shell command string and interpolates the attacker-controllable cl_meta parameter directly into it, then executes it via popen(). Because no shell escaping or quoting is applied, metacharacters such as ;, |, $(), or backticks break out of the intended command. ubus methods invoked from LuCI generally run with the privileges of the rpcd/uhttpd backend, which on OpenWrt is root, so successful injection yields root-level execution. The CPE cpe:2.3:a:openwrt:luci confirms the OpenWrt LuCI package as the affected component.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - apply the patch from commit e4ff45ecbc6ad212951815c8c99b2749fbd7de6b (https://github.com/openwrt/luci/commit/e4ff45ecbc6ad212951815c8c99b2749fbd7de6b) by updating luci-proto-openvpn to a build that includes it (post-0.11.1), per the vendor advisory at https://github.com/openwrt/luci/security/advisories/GHSA-pm9w-522m-8rrh. Where immediate patching is not possible, restrict who can authenticate to LuCI and specifically who holds OpenVPN protocol configuration rights, since the attack requires that access; remove or uninstall the luci-proto-openvpn package on devices that do not use OpenVPN as a managed protocol (trade-off: OpenVPN can no longer be configured through the web UI). Additionally, ensure the LuCI/uhttpd management interface is not exposed to untrusted networks or the WAN and is reachable only over trusted management VLANs or VPN (trade-off: remote browser administration becomes unavailable from outside that segment). Enforce strong, unique LuCI credentials to reduce the chance that a low-trust account is abused to reach the vulnerable method.
In wlan service, there is a possible out of bounds write due to improper input validation. Rated critical severity (CVSS
An issue was discovered in OpenWrt 18.06.0 to 18.06.6 and 19.07.0, and LEDE 17.01.0 to 17.01.7. Rated high severity (CVS
An issue was discovered in OpenWrt libuci (aka Library for the Unified Configuration Interface) before 15.05.1 as used o
cgi_handle_request in uhttpd in OpenWrt through 18.06.1 and LEDE through 17.01 has unauthenticated reflected XSS via the
In wlan service, there is a possible out of bounds write due to an incorrect bounds check. Rated critical severity (CVSS
An exploitable information leak vulnerability exists in the ustream-ssl library of OpenWrt, versions 18.06.4 and 15.05.1
An exploitable information leak vulnerability exists in the ustream-ssl library of OpenWrt, versions 18.06.4 and 15.05.1
Remote privilege escalation in Android WLAN AP driver via packet injection.
In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local es
In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local es
In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local es
Remote code execution in OpenWrt's mDNS daemon (versions before 24.10.6 and 25.12.1) allows unauthenticated attackers to
Same weakness CWE-78 – OS Command Injection
View allSame technique Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-40172
GHSA-833j-64r7-8r2r