9.9Critical

CVE-2026-72841luci-app-openvpn Path Traversal RCE via instance_name2

openwrt luci Published: (3 months ago)

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.

Weakness (CWE): CWE-73

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
openwrt luci < 24.10.7, 25.12.0 – < 25.12.4

References and patches