{"id":"CVE-2026-62947","summary":"OpenWrt: ACL bypass and arbitrary root file read via cgi-io cgi-download","details":"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.","aliases":["GHSA-jw5r-xhf5-2xcq"],"modified":"2026-07-17T03:48:15.646005138Z","published":"2026-07-15T17:55:12.240Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62947.json"},"references":[{"type":"WEB","url":"https://github.com/openwrt/openwrt/releases/tag/v25.12.5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62947.json"},{"type":"ADVISORY","url":"https://github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62947"},{"type":"FIX","url":"https://github.com/openwrt/cgi-io/commit/72990b7489872112df31c94032637c907760bae4"},{"type":"FIX","url":"https://github.com/openwrt/cgi-io/pull/4"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openwrt/cgi-io","events":[{"introduced":"0"},{"fixed":"72990b7489872112df31c94032637c907760bae4"}],"database_specific":{"source":"REFERENCES"}},{"type":"GIT","repo":"https://github.com/openwrt/openwrt","events":[{"introduced":"0"},{"fixed":"f0a60eee2fe051741c643ea6118718aae1ef17fb"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"25.12.5"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v25.12.4","v25.12.3","v25.12.2","v25.12.1","v25.12.0","v25.12.0-rc5","v25.12.0-rc4","v25.12.0-rc3","v25.12.0-rc2","v25.12.0-rc1","reboot"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62947.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N"}]}