CVE-2026-62947 OpenWrt: ACL bypass and arbitrary root file read via cgi-io cgi-download
MediumCVSS 4.9
EPSS 0.52%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| openwrt | < 25.12.5; = < 25.12.5 | 25.12.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openwrt | = < 25.12.5 | No fix listed |
| openwrt | < 25.12.5 | 25.12.5 |
References
- https://github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcq exploit vendor-advisory
- https://github.com/openwrt/cgi-io/pull/4 issue-tracking patch
- https://github.com/openwrt/cgi-io/commit/72990b7489872112df31c94032637c907760bae4 patch
- https://github.com/openwrt/openwrt/releases/tag/v25.12.5 release-notes