---
id: CVE-2026-72841
title: >-
  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
summary: >-
  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 …
severity: critical
cvss: 9.9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'
cwe:
  - CWE-73
published: '2026-08-13'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T20:35:08.537'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-72841'
references:
  - url: 'https://github.com/openwrt/luci/security/advisories/GHSA-jjcx-c284-2qv8'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/luci-app-openvpn-path-traversal-rce-via-instance-name2
    label: disclosure@vulncheck.com
  - url: 'https://github.com/openwrt/luci/security/advisories/GHSA-jjcx-c284-2qv8'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00616
epssPercentile: 0.47308
ingestedAt: '2026-09-09T21:22:45.534Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
