CVE-2026-62947 Details
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.
A path traversal vulnerability has been identified in the cgi-io package of OpenWrt, specifically in versions through 25.12.4. The issue arises in the cgi-download handler, which fails to properly canonicalize the requested file path before checking it against the user's access control list (ACL) permissions. This flaw allows authenticated users with certain read privileges to exploit the vulnerability and access sensitive files, such as /etc/shadow, which contains hashed root passwords. The vulnerability is made possible by the rpcd session management, which does not handle wildcard patterns correctly, enabling traversal attacks that bypass file access restrictions.
Users are advised to upgrade to OpenWrt version 25.12.5, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcq | CISA-ADP | Vendor AdvisoryExploit |
| https://github.com/openwrt/cgi-io/commit/72990b7489872112df31c94032637c907760bae4 | [email protected] | Patch |
| https://github.com/openwrt/cgi-io/pull/4 | [email protected] | Issue TrackingPatch |
| https://github.com/openwrt/openwrt/releases/tag/v25.12.5 | [email protected] | Release Notes |
| https://github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcq | [email protected] | Vendor AdvisoryExploit |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| openwrt openwrt | < 25.12.5 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 21, 2026 | Initial Analysis | [email protected] |
| Jul 15, 2026 | CVE Modified | CISA-ADP |
| Jul 15, 2026 | New CVE Received | [email protected] |