{"id":"CVE-2026-118663","published":"2026-10-28T20:35:22Z","modified":"2026-10-29T18:26:42Z","title":"@hono/node-server: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static paths","vendor":"honojs","product":"node-server","tier":"tail","description":{"text":"@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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00353,"percentile":0.29754,"provenance":"source"},"cwes":[{"id":"CWE-174","name":"Double Decoding of the Same Data"}],"references":[{"url":"https://github.com/honojs/node-server/security/advisories/GHSA-rmxm-3fg6-px4f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/honojs/node-server/commit/982179278529d5673812116b042829f27794966f","tags":["x_refsource_MISC"]},{"url":"https://github.com/honojs/node-server/releases/tag/v2.1.3","tags":["x_refsource_MISC"]}],"priority":{"score":9.7,"factors":[{"name":"EPSS percentile","points":5.95},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"honojs","affectedVersions":[{"vendor":"honojs","product":"node-server","versions":["> = 1.19.10, < 2.1.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-29T18:26:31.513669Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@hono/node-server","vulnerableRanges":[">=1.19.10, <2.1.3"],"patched":["2.1.3"],"from":["GHSA-rmxm-3fg6-px4f"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-112470","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-honojs-node-server-cve-2026-29087","parents":[{"from":"CVE-2026-29087","to":"CVE-2026-118663","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/serve-static.ts"],"commits":["https://github.com/honojs/node-server/commit/982179278529d5673812116b042829f27794966f","https://github.com/honojs/node-server/commit/455015be1697dd89974a68b70350ea7b2d126d2e"],"basis":"rarely changed file"}]},{"from":"CVE-2026-39406","to":"CVE-2026-118663","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/serve-static.ts"],"commits":["https://github.com/honojs/node-server/commit/982179278529d5673812116b042829f27794966f","https://github.com/honojs/node-server/commit/025c30f55d589ddbe6048b151d77e904f67a8cc2"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-29087","published":"2026-03-06","fixed":"1.19.10","kev":false},{"cve":"CVE-2026-39406","published":"2026-04-08","fixed":"1.19.13","kev":false},{"cve":"CVE-2026-73565","published":"2026-08-13","fixed":"2.0.10","kev":false,"link":{"from":"CVE-2026-73565","to":"CVE-2026-118663","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@hono/node-server","fromFixed":"2.0.10","toFixed":"2.1.3","daysApart":76}]}},{"cve":"CVE-2026-118663","published":"2026-10-28","fixed":"2.1.3","kev":false},{"cve":"CVE-2026-126210","published":"2026-11-12","fixed":"2.1.6","kev":false,"link":{"from":"CVE-2026-118663","to":"CVE-2026-126210","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@hono/node-server","fromFixed":"2.1.3","toFixed":"2.1.6","daysApart":15}]}},{"cve":"CVE-2026-126343","published":"2026-11-12","fixed":"2.1.6","kev":false,"link":{"from":"CVE-2026-118663","to":"CVE-2026-126343","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@hono/node-server","fromFixed":"2.1.3","toFixed":"2.1.6","daysApart":15}]}}],"package":"npm:@hono/node-server"}}