CVE-2026-62947 OpenWrt: ACL bypass and arbitrary root file read via cgi-io cgi-download

Medium 4.9 Published Updated

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.

All Openwrt Openwrt vulnerabilities

Sources

Also known as GHSA-jw5r-xhf5-2xcq.

Is CVE-2026-62947 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free