{"id":"CVE-2026-62947","aliases":["EUVD-2026-44756","GHSA-jw5r-xhf5-2xcq"],"status":"published","title":"OpenWrt: ACL bypass and arbitrary root file read via cgi-io cgi-download","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.","severity":{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00524,"percentile":0.44878,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2026-07-15T17:55:12Z","modified":"2026-10-28T02:30:58Z","products":[{"vendor":"openwrt","product":"openwrt"}],"references":[{"url":"https://github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcq","tags":["x_refsource_CONFIRM","exploit","Vendor Advisory","Exploit","advisory"]},{"url":"https://github.com/openwrt/cgi-io/pull/4","tags":["x_refsource_MISC","Issue Tracking","Patch","fix"]},{"url":"https://github.com/openwrt/cgi-io/commit/72990b7489872112df31c94032637c907760bae4","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/openwrt/openwrt/releases/tag/v25.12.5","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62947.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62947","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-62947","title":"OpenWrt: ACL bypass and arbitrary root file read via cgi-io cgi-download","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.","status":"published","published":"2026-07-15T17:55:12.24Z","modified":"2026-07-15T19:31:18.877Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:20:14.999906Z"}],"euvd":[{"id":"EUVD-2026-44756","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.","status":"published","published":"2026-07-15T17:55:12Z","modified":"2026-07-15T19:31:18Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T18:19:52.35951Z"}],"nvd":[{"id":"CVE-2026-62947","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.","status":"published","published":"2026-07-15T19:18:38.533Z","modified":"2026-07-21T16:06:10.347Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:12:29.879716Z"}],"osv":[{"id":"CVE-2026-62947","title":"OpenWrt: ACL bypass and arbitrary root file read via cgi-io cgi-download","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.","status":"published","published":"2026-07-15T17:55:12.24Z","modified":"2026-10-28T02:30:58.90766398Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:45:13.306117Z"}]}}
