CVE-2026-62947

MEDIUM

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

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 4.9
EPSS 0.0040
EPSS Percentile 32.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-22
Status published
Products (1)
openwrt/openwrt < 25.12.5 (2 CPE variants)
Published Jul 15, 2026
Tracked Since Jul 16, 2026