Path Traversal in Openwrt
CVE-2026-62947
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.9 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.005 (43.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 44th percentile — 43.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Openwrt — versions < 25.12.5
Weakness classification (CWE)
References
- github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcq (Exploit, Vendor Advisory)
- github.com/openwrt/cgi-io/pull/4 (Patch, Issue Tracking)
- github.com/openwrt/cgi-io/commit/72990b7489872112df31c94032637c907760bae4 (Patch)
- github.com/openwrt/openwrt/releases/tag/v25.12.5 (Release Notes)
Frequently asked questions
- What is CVE-2026-62947?
- CVE-2026-62947 is a medium-severity vulnerability in Openwrt, classified under Path Traversal. CVSS score: 4.9/10. Published 2026-07-15.
- How severe is CVE-2026-62947?
- Medium severity. CVSS v3 base score is 4.9 out of 10.