{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "4.12.11"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "9aff14bd727f8b0435c963363fd803260e7b8e3c"
            },
            {
              "fixed": "c37ba26da9709ad03b803d1972773ed864b7e60d"
            }
          ],
          "repo": "https://github.com/honojs/hono",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-wmmm-f939-6g9c"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39407.json"
  },
  "details": "Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.12, a path handling inconsistency in serveStatic allows protected static files to be accessed by using repeated slashes (//) in the request path. When route-based middleware (e.g., /admin/*) is used for authorization, the router may not match paths containing repeated slashes, while serveStatic resolves them as normalized paths. This can lead to a middleware bypass. This vulnerability is fixed in 4.12.12.",
  "id": "CVE-2026-39407",
  "modified": "2026-07-08T05:36:49.126107291Z",
  "published": "2026-04-08T14:41:20.301Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/honojs/hono/releases/tag/v4.12.12"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39407.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/honojs/hono/security/advisories/GHSA-wmmm-f939-6g9c"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-39407"
    },
    {
      "type": "FIX",
      "url": "https://github.com/honojs/hono/commit/9aff14bd727f8b0435c963363fd803260e7b8e3c"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Hono has a middleware bypass via repeated slashes in serveStatic"
}