{"id":"CVE-2026-62947","state":"PUBLISHED","title":"OpenWrt: ACL bypass and arbitrary root file read via cgi-io cgi-download","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.","publishedAt":"2026-07-15T17:55:12.240Z","updatedAt":"2026-07-15T19:31:18.877Z","severity":{"score":4.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["openwrt openwrt"],"affected":[{"vendor":"openwrt","product":"openwrt","versions":[{"version":"< 25.12.5","status":"affected"}]}],"references":["https://github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcq","https://github.com/openwrt/cgi-io/pull/4","https://github.com/openwrt/cgi-io/commit/72990b7489872112df31c94032637c907760bae4","https://github.com/openwrt/openwrt/releases/tag/v25.12.5"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/62xxx/CVE-2026-62947.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-62947","state":"PUBLISHED","datePublished":"2026-07-15T17:55:12.240Z","dateUpdated":"2026-07-15T19:31:18.877Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-14T22:32:17.731Z"},"containers":{"cna":{"title":"OpenWrt: ACL bypass and arbitrary root file read via cgi-io cgi-download","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":[{"vendor":"openwrt","product":"openwrt","versions":[{"version":"< 25.12.5","status":"affected"}]}],"references":[{"url":"https://github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcq","name":"https://github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/openwrt/cgi-io/pull/4","name":"https://github.com/openwrt/cgi-io/pull/4","tags":["x_refsource_MISC"]},{"url":"https://github.com/openwrt/cgi-io/commit/72990b7489872112df31c94032637c907760bae4","name":"https://github.com/openwrt/cgi-io/commit/72990b7489872112df31c94032637c907760bae4","tags":["x_refsource_MISC"]},{"url":"https://github.com/openwrt/openwrt/releases/tag/v25.12.5","name":"https://github.com/openwrt/openwrt/releases/tag/v25.12.5","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-15T17:55:12.240Z"},"source":{"advisory":"GHSA-jw5r-xhf5-2xcq","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcq","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-15T19:31:15.364055Z","id":"CVE-2026-62947","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-15T19:31:18.877Z"}}]}}}