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

- Severity: Medium 4.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-15T17:55:12.240Z
- Modified: 2026-07-21T16:06:10.347Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- openwrt openwrt: < 25.12.5; before 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)

## Sources

- CVE List: [CVE-2026-62947](https://www.cve.org/CVERecord?id=CVE-2026-62947), CVE Terms of Use, modified 2026-07-15
- NVD: [CVE-2026-62947](https://nvd.nist.gov/vuln/detail/CVE-2026-62947), Public domain, modified 2026-07-21

---

Page: https://cve.day/CVE-2026-62947 · Whole record: https://cve.day/CVE-2026-62947.json · Rebuilt by cve.day 2026-11-25T22:59:28.332Z
