{"id":"CVE-2026-62947","sourceIdentifier":"security-advisories@github.com","published":"2026-07-15T19:18:38.533","lastModified":"2026-07-21T16:06:10.347","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"openwrt","product":"openwrt","versions":[{"version":"< 25.12.5","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","baseScore":4.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":1.2,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-07-15T19:31:15.364055Z","id":"CVE-2026-62947","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-22"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:openwrt:openwrt:*:*:*:*:*:*:*:*","versionEndExcluding":"25.12.5","matchCriteriaId":"93C72B3E-525F-44C1-833C-88A85A6BB586"}]}]}],"references":[{"url":"https://github.com/openwrt/cgi-io/commit/72990b7489872112df31c94032637c907760bae4","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/openwrt/cgi-io/pull/4","source":"security-advisories@github.com","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/openwrt/openwrt/releases/tag/v25.12.5","source":"security-advisories@github.com","tags":["Release Notes"]},{"url":"https://github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcq","source":"security-advisories@github.com","tags":["Vendor Advisory","Exploit"]},{"url":"https://github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcq","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":["Vendor Advisory","Exploit"]}]}