{"id":"CVE-2026-111757","title":"Hono: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static paths","summary":"Hono is a Web application framework that provides support for any JavaScript runtime. From 4.12.4 until 4.13.11, serveStatic can interpret a malformed percent-encoded path differently from upstream routing middleware and bypass protectio…","severity":"medium","cvss":5.3,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","cvssSource":"cna","cwe":["CWE-174"],"vendor":"honojs","product":"hono","affected":["hono >= 4.12.4, < 4.13.11"],"published":"2026-10-19","updated":"2026-10-19","sourceUpdated":"2026-10-19T17:31:20.341Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-111757","references":[{"url":"https://github.com/honojs/hono/security/advisories/GHSA-5r4p-p66f-jhc7","label":"https://github.com/honojs/hono/security/advisories/GHSA-5r4p-p66f-jhc7"},{"url":"https://github.com/honojs/hono/security/advisories/GHSA-5r4p-p66f-jhc7","label":"https://github.com/honojs/hono/security/advisories/GHSA-5r4p-p66f-jhc7"},{"url":"https://github.com/honojs/hono/commit/8b05c774ef1555c70f5ba5e2991b7e77cc3635cc","label":"https://github.com/honojs/hono/commit/8b05c774ef1555c70f5ba5e2991b7e77cc3635cc"}],"tags":["cve.org"],"ingestedAt":"2026-10-19T18:35:50.162Z","slug":"CVE-2026-111757","body":"## Overview\n\nHono is a Web application framework that provides support for any JavaScript runtime. From 4.12.4 until 4.13.11, serveStatic can interpret a malformed percent-encoded path differently from upstream routing middleware and bypass protection for a static prefix. The root cause is serveStatic decodes a routed request path a second time before filesystem lookup. The attack mechanism is malformed percent encoding survives the first routing interpretation and becomes a protected path only during the later static-file decode. The affected component is serveStatic. The trigger conditions are an application protects a static prefix with upstream middleware and serveStatic receives an attacker-controlled malformed percent-encoded path. The impact is unauthorized disclosure of a static file that upstream middleware was intended to protect. The issue does not permit traversal outside the configured static root. This issue is fixed in version 4.13.11.\n\n## Affected\n\n- `hono >= 4.12.4, < 4.13.11`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":29,"depthScoreParts":{"impact":29.2,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}