CVE-2026-62947

Source
https://cve.org/CVERecord?id=CVE-2026-62947
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62947.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-62947
Aliases
  • GHSA-jw5r-xhf5-2xcq
Published
2026-07-15T17:55:12.240Z
Modified
2026-07-17T03:48:15.646005138Z
Severity
  • 4.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
OpenWrt: ACL bypass and arbitrary root file read via cgi-io cgi-download
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62947.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/openwrt/cgi-io

Affected ranges

Type
GIT
Repo
https://github.com/openwrt/cgi-io
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "REFERENCES"
}
Type
GIT
Repo
https://github.com/openwrt/openwrt
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "25.12.5"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

Other
reboot
v25.*
v25.12.0
v25.12.0-rc1
v25.12.0-rc2
v25.12.0-rc3
v25.12.0-rc4
v25.12.0-rc5
v25.12.1
v25.12.2
v25.12.3
v25.12.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62947.json"