CVE-2026-62947
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…
Does this matter?
Lower severity and a low EPSS score (0.52%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 3.1
- 4.9 MEDIUMCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- EPSS
- 0.52% probability · 43th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- openwrt/openwrt
- Source
- security-advisories@github.com
References
- https://github.com/openwrt/cgi-io/commit/72990b7489872112df31c94032637c907760bae4Patch
- https://github.com/openwrt/cgi-io/pull/4Issue Tracking, Patch
- https://github.com/openwrt/openwrt/releases/tag/v25.12.5Release Notes
- https://github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcqVendor Advisory, Exploit
- https://github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcqVendor Advisory, Exploit
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.