CVE-2026-62947 OpenWrt: ACL bypass and arbitrary root file read via cgi-io cgi-download
Attackers can bypass ACLs and read sensitive root files like /etc/shadow via path traversal in the cgi-io handler.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-62947?
CVE-2026-62947 is a medium-severity path traversal vulnerability in Openwrt Openwrt, published on 15 Jul 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official 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.
Weakness: CWE-22
Which versions are affected by CVE-2026-62947?
It affects 1 product.
Products include Openwrt Openwrt.
How do I fix CVE-2026-62947?
No fix has been published for CVE-2026-62947 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-62947 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-62947 exists.
Other vulnerabilities in Openwrt Openwrt
- CVE-2020-28951 Use after free in n/a
- CVE-2026-62948 Cross-site scripting in openwrt
- CVE-2026-30871 OpenWrt Project has Stack-based Buffer Overflow in DNS PTR Query
- CVE-2026-30872 OpenWrt Project has a Stack-based Buffer Overflow vulnerability via IPv6 reverse DNS lookup
- CVE-2021-28961 Command injection in n/a
Sources
Also known as GHSA-jw5r-xhf5-2xcq.