{"id":"CVE-2026-118663","revision":"0654fa95dcf841baa86bd9faaaa68d0d","records":[{"revision":"0654fa95dcf841baa86bd9faaaa68d0d","observedAt":"2026-10-29T19:28:49.708+00:00","statement":{"source":"cve-program","id":"CVE-2026-118663","aliases":[],"title":"@hono/node-server: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static paths","description":"@hono/node-server allows running the Hono application on Node.js. From 1.19.10 until 2.1.3, serveStatic decodes a request path a second time after Hono has already decoded it for routing, so a malformed percent-encoded sequence can make route middleware evaluate an encoded path while static file resolution uses a different directory. An unauthenticated attacker can bypass middleware mounted on a protected static prefix and read a file inside the configured static root, although the flaw does not permit traversal outside that root. This issue is fixed in version 2.1.3.","state":0,"publishedAt":"2026-10-28T20:35:22.948+00:00","modifiedAt":"2026-10-29T18:26:42.881+00:00","affected":[{"ecosystem":"Vendor product","name":"node-server","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"honojs\",\n                    \"product\": \"node-server\",\n                    \"versions\": [\n                        {\n                            \"version\": \"> = 1.19.10, < 2.1.3\",\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/node-server/security/advisories/GHSA-rmxm-3fg6-px4f","https://github.com/honojs/node-server/commit/982179278529d5673812116b042829f27794966f","https://github.com/honojs/node-server/releases/tag/v2.1.3"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-118663","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-118663","identifiers":["CVE-2026-118663"]},"retained":false,"historicalAffected":[]}],"coverage":[]}