Skip to main content
← All vulnerabilities
CVE-2026-62947

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 25.12.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • openwrt openwrt

    fixed in 25.12.5

References 4

GitHub · openwrt/openwrt

GitHub · openwrt/cgi-io