{"id":"CVE-2026-111757","state":"PUBLISHED","title":"Hono: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static paths","description":"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 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.","publishedAt":"2026-10-19T17:31:20.341Z","updatedAt":"2026-10-20T16:10:30.638Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["honojs hono"],"affected":[{"vendor":"honojs","product":"hono","versions":[{"version":">= 4.12.4, < 4.13.11","status":"affected"}]}],"references":["https://github.com/honojs/hono/security/advisories/GHSA-5r4p-p66f-jhc7","https://github.com/honojs/hono/commit/8b05c774ef1555c70f5ba5e2991b7e77cc3635cc"],"weaknesses":["CWE-174"],"ingestedAt":"2026-10-29T20:10:33.477Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/111xxx/CVE-2026-111757.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-111757","state":"PUBLISHED","datePublished":"2026-10-19T17:31:20.341Z","dateUpdated":"2026-10-20T16:10:30.638Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-16T17:52:09.081Z"},"containers":{"cna":{"title":"Hono: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static paths","descriptions":[{"lang":"en","value":"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 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."}],"affected":[{"vendor":"honojs","product":"hono","versions":[{"version":">= 4.12.4, < 4.13.11","status":"affected"}]}],"references":[{"url":"https://github.com/honojs/hono/security/advisories/GHSA-5r4p-p66f-jhc7","name":"https://github.com/honojs/hono/security/advisories/GHSA-5r4p-p66f-jhc7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/honojs/hono/security/advisories/GHSA-5r4p-p66f-jhc7","name":"https://github.com/honojs/hono/security/advisories/GHSA-5r4p-p66f-jhc7","tags":["x_refsource_MISC"]},{"url":"https://github.com/honojs/hono/commit/8b05c774ef1555c70f5ba5e2991b7e77cc3635cc","name":"https://github.com/honojs/hono/commit/8b05c774ef1555c70f5ba5e2991b7e77cc3635cc","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-174","lang":"en","description":"CWE-174: Double Decoding of the Same Data","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-19T17:31:20.341Z"},"source":{"advisory":"GHSA-5r4p-p66f-jhc7","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-20T15:18:52.675084Z","id":"CVE-2026-111757","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-20T16:10:30.638Z"}}]}}}