{"id":"CVE-2026-111757","revision":"5089a54bd9ed415cbc0611578a7db66f","records":[{"revision":"5089a54bd9ed415cbc0611578a7db66f","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-111757","aliases":[],"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.","state":0,"publishedAt":"2026-10-19T17:31:20.341+00:00","modifiedAt":"2026-10-20T16:10:30.638+00:00","affected":[{"ecosystem":"Vendor product","name":"hono","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"honojs\",\n                    \"product\": \"hono\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 4.12.4, < 4.13.11\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"severity":"MEDIUM"}],"references":["https://github.com/honojs/hono/security/advisories/GHSA-5r4p-p66f-jhc7","https://github.com/honojs/hono/commit/8b05c774ef1555c70f5ba5e2991b7e77cc3635cc"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-111757","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-111757","identifiers":["CVE-2026-111757"]},"retained":false,"historicalAffected":[]}],"coverage":[]}