CVE-2026-62947
JSON

4.9medium

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

Severity
4.9medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.49% (higher than 43% of CVEs; EPSS, by FIRST)
Published
Last changed
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

Product or packageVersionsReported by
openwrt openwrt< 25.12.5, before 25.12.5CVE List, NVD

Classification

CWE-22

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-62947 changed 2026-07-15CVE Terms of Use
NVDCVE-2026-62947 changed 2026-07-21Public domain