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.
Published: 2026-08-13
Score: 9.4 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Fri, 14 Aug 2026 00:30:00 +0000

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

Thu, 13 Aug 2026 22:15:00 +0000

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


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-13T21:54:40.631Z

Reserved: 2026-08-10T15:13:41.486Z

Link: CVE-2026-72841

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-13T22:17:23.813

Modified: 2026-08-13T22:17:23.813

Link: CVE-2026-72841

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T00:45:17Z

Weaknesses
  • CWE-73

    External Control of File Name or Path