CVE-2026-62947

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

MEDIUM
4.9
CVSS Score
Published: July 15, 2026 at 05:55 PM UTC
Updated: July 21, 2026 at 04:19 PM UTC
1 product affected across 1 vendorOpenWRT

Using openwrt by openwrt?

Get instant alerts when new vulnerabilities affect openwrt - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.9
Exploit prediction
EPSS 0.5%
SSVC
PoC

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 25.12.5
Affected range stops below 25.12.5, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (4)

x_refsource_CONFIRMVendor AdvisoryExploit
Source: cverecord
https://github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcq
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/openwrt/cgi-io/pull/4
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/openwrt/openwrt/releases/tag/v25.12.5

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

4.9MEDIUMGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-22

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card