CVE-2026-62947

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

Configuration 1 (hide)

cpe:2.3:o:openwrt:openwrt:*:*:*:*:*:*:*:*

History

21 Jul 2026, 16:06

Type Values Removed Values Added
CPE cpe:2.3:o:openwrt:openwrt:*:*:*:*:*:*:*:*
First Time Openwrt
Openwrt openwrt
References () https://github.com/openwrt/cgi-io/commit/72990b7489872112df31c94032637c907760bae4 - () https://github.com/openwrt/cgi-io/commit/72990b7489872112df31c94032637c907760bae4 - Patch
References () https://github.com/openwrt/cgi-io/pull/4 - () https://github.com/openwrt/cgi-io/pull/4 - Issue Tracking, Patch
References () https://github.com/openwrt/openwrt/releases/tag/v25.12.5 - () https://github.com/openwrt/openwrt/releases/tag/v25.12.5 - Release Notes
References () https://github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcq - () https://github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcq - Vendor Advisory, Exploit

15 Jul 2026, 20:18

Type Values Removed Values Added
References () https://github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcq - () https://github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcq -

15 Jul 2026, 19:18

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-15 19:18

Updated : 2026-07-21 16:06


NVD link : CVE-2026-62947

Mitre link : CVE-2026-62947

CVE.ORG link : CVE-2026-62947


JSON object : View

Products Affected

openwrt

  • openwrt
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')