CVE-2026-72841

luci-app-openvpn Path Traversal RCE via instance_name2

Published Aug 13, 2026 CVSS 4.0 · 9.4 Critical EPSS < 1% KEV · Not listed
Description
luci-app-openvpn fails to properly validate the instance_name2 parameter during file upload, allowing authenticated users to perform path traversal and write arbitrary files outside the intended directory. Attackers can upload malicious payloads to gain persistent root code execution by placing SSH keys in system directories accessible on reboot.

Analysis

AI-generated

Technical impact

luci-app-openvpn fails to validate the instance_name2 parameter during file upload, enabling an authenticated user to perform path traversal and write arbitrary files outside the intended directory. The attacker can place malicious payloads, such as SSH keys, in system directories that persist across reboots, granting persistent root code execution. This flaw is represented by CWE-73 and carries a CVSS score of 9.4, indicating critical severity.

Affected Systems

The vulnerability affects the OpenWrt luci web interface, specifically the luci-app-openvpn package, which accepts the instance_name2 file upload parameter. No specific product versions are listed in the data, so any installation of luci-app-openvpn that processes instance_name2 uploads is potentially vulnerable.

Risk and Exploitability

With a CVSS score of 9.4, the risk is high. Although the EPSS score is not available and the vulnerability is not listed in CISA KEV, the requirement for authenticated access to the luci interface means that users who can log in pose a significant threat. An attacker can exploit the flaw by uploading a crafted file that traverses directories, writing arbitrary code or credentials, and achieving persistent root privileges. The absence of an official patch or workaround in the current data highlights the urgency of remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade luci-app-openvpn to the latest version that includes proper validation of instance_name2 to prevent path traversal.
  • Restrict access to the luci web interface by enforcing strict authentication and limiting reachable IP ranges via firewall rules or VPN, reducing the pool of authenticated users who could exploit the flaw.
  • As an interim measure, modify luci configuration or employ a custom script to reject uploads containing directory traversal patterns (e.g., "..") or disable the instance_name2 upload capability entirely until a patch is available.

Generated by OpenCVE AI on August 14, 2026 at 00:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
CPEs cpe:2.3:a:openwrt:luci:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Openwrt
Openwrt luci
Vendors & Products Openwrt
Openwrt luci
Type Values Removed Values Added
Description luci-app-openvpn fails to properly validate the instance_name2 parameter during file upload, allowing authenticated users to perform path traversal and write arbitrary files outside the intended directory. Attackers can upload malicious payloads to gain persistent root code execution by placing SSH keys in system directories accessible on reboot.
Title luci-app-openvpn Path Traversal RCE via instance_name2
Weaknesses CWE-73
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses
  • CWE-73

    External Control of File Name or Path

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 30, 2026, 5:20 PM
Reserved
Aug 10, 2026, 3:13 PM
Status
Deferred
Published
Aug 13, 2026, 10:17 PM
Modified
Sep 30, 2026, 6:18 PM