Medium severity4.9NVD Advisory· Published Jul 15, 2026· Updated Jul 21, 2026
CVE-2026-62947
CVE-2026-62947
Description
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.
Affected products
3Patches
Vulnerability mechanics
References
4- github.com/openwrt/cgi-io/commit/72990b7489872112df31c94032637c907760bae4nvdPatch
- github.com/openwrt/cgi-io/pull/4nvdIssue TrackingPatch
- github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcqnvdVendor AdvisoryExploit
- github.com/openwrt/openwrt/releases/tag/v25.12.5nvdRelease Notes
News mentions
1- Critical OpenWrt DHCPv6 Flaw Could Let Unauthenticated Attackers Run Code as RootThe Hacker News · Jul 28, 2026