Skip to content
OpenAdvisories
Medium · 4.9 CVE-2026-62947 EUVD-2026-44756

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

Published Jul 15, 2026 · Updated Jul 15, 2026 · 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.

Affected products

VendorProductAffectedFixed
openwrt openwrt < 25.12.5 —

References