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 ca…
Medium CVSS 4.9
Summary
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.
In-depth triage · Auto channel
No in-depth report has been generated yet (DR-003 v2 AI pipeline is under construction).
Affected products
- :
Sources
- NVD DATABASE
Original Links
- https://github.com/openwrt/cgi-io/commit/72990b7489872112df31c94032637c907760bae4 Patch
- https://github.com/openwrt/cgi-io/pull/4 Issue Tracking
- https://github.com/openwrt/openwrt/releases/tag/v25.12.5 Release Notes
- https://github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcq Vendor Advisory
- https://github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcq Vendor Advisory
Timeline
- nvd_ingest NVD