CVE-2026-62947
MEDIUMOpenWrt: ACL bypass and arbitrary root file read via cgi-io cgi-download
Title source: cnaDescription
OpenWrt is a Linux operating system targeting embedded devices. Prior to 25.12.5, the cgi-download handler in cgi-io authorizes the requested path against the caller's ubus session file ACL before canonicalization, and rpcd session.c uses fnmatch() without FNM_PATHNAME, allowing traversal such as an allowed wildcard prefix followed by ../ to read root-readable files including /etc/shadow. This vulnerability is fixed in 25.12.5.
References (4)
Core 4
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcq
X_Refsource_Misc x_refsource_misc
https://github.com/openwrt/cgi-io/pull/4
X_Refsource_Misc x_refsource_misc
https://github.com/openwrt/cgi-io/commit/72990b7489872112df31c94032637c907760bae4
X_Refsource_Misc x_refsource_misc
https://github.com/openwrt/openwrt/releases/tag/v25.12.5
Scores
CVSS v3
4.9
EPSS
0.0040
EPSS Percentile
32.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-22
Status
published
Products (1)
openwrt/openwrt
< 25.12.5 (2 CPE variants)
Published
Jul 15, 2026
Tracked Since
Jul 16, 2026