Untriaged
Permalink
CVE-2026-62947
4.9 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): High (H)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): High (H)
- Integrity (I): None (N)
- Availability (A): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): High (H)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): High (H)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): None (N)
- Modified Availability (MA): None (N)
Activity log
- Created suggestion
OpenWrt: ACL bypass and arbitrary root file read via cgi-io cgi-download
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.
References
-
https://github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcq x_refsource_CONFIRMexploit
-
https://github.com/openwrt/cgi-io/pull/4 x_refsource_MISC
-
https://github.com/openwrt/openwrt/releases/tag/v25.12.5 x_refsource_MISC
Affected products
openwrt
- ==< 25.12.5
Matching in nixpkgs
pkgs.terraform-providers.openwrt
None
pkgs.python313Packages.openwrt-luci-rpc
Python module for interacting with the OpenWrt Luci RPC interface
pkgs.python313Packages.openwrt-ubus-rpc
Python API for OpenWrt ubus RPC
pkgs.python314Packages.openwrt-luci-rpc
Python module for interacting with the OpenWrt Luci RPC interface
pkgs.python314Packages.openwrt-ubus-rpc
Python API for OpenWrt ubus RPC
Package maintainers
-
@matt-snider Matt Snider <matt.snider@protonmail.com>
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>