{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "72990b7489872112df31c94032637c907760bae4"
            }
          ],
          "repo": "https://github.com/openwrt/cgi-io",
          "type": "GIT"
        },
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "25.12.5"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "f0a60eee2fe051741c643ea6118718aae1ef17fb"
            }
          ],
          "repo": "https://github.com/openwrt/openwrt",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-jw5r-xhf5-2xcq"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62947.json"
  },
  "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.",
  "id": "CVE-2026-62947",
  "modified": "2026-07-17T03:41:36.199170562Z",
  "published": "2026-07-15T17:55:12.240Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/openwrt/openwrt/releases/tag/v25.12.5"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62947.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/openwrt/openwrt/security/advisories/GHSA-jw5r-xhf5-2xcq"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-62947"
    },
    {
      "type": "FIX",
      "url": "https://github.com/openwrt/cgi-io/commit/72990b7489872112df31c94032637c907760bae4"
    },
    {
      "type": "FIX",
      "url": "https://github.com/openwrt/cgi-io/pull/4"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "OpenWrt: ACL bypass and arbitrary root file read via cgi-io cgi-download"
}