Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Openwrt | Openwrt | < 25.12.5 |
Related Weaknesses (CWE)
References
- https://github.com/openwrt/cgi-io/commit/72990b7489872112df31c94032637c907760baePatch
- https://github.com/openwrt/cgi-io/pull/4Issue TrackingPatch
- https://github.com/openwrt/openwrt/releases/tag/v25.12.5Release Notes
- https://github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcqVendor AdvisoryExploit
- https://github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcqVendor AdvisoryExploit
FAQ
What is CVE-2026-62947?
CVE-2026-62947 is a vulnerability with a CVSS score of 4.9 (MEDIUM). 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 can...
How severe is CVE-2026-62947?
CVE-2026-62947 has been rated MEDIUM with a CVSS base score of 4.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-62947?
Check the references section above for vendor advisories and patch information. Affected products include: Openwrt Openwrt.