{"id":"CVE-2026-118663","state":"PUBLISHED","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.","publishedAt":"2026-10-28T20:35:22.948Z","updatedAt":"2026-10-29T18:26:42.881Z","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 node-server"],"affected":[{"vendor":"honojs","product":"node-server","versions":[{"version":"> = 1.19.10, < 2.1.3","status":"affected"}]}],"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"],"weaknesses":["CWE-174"],"ingestedAt":"2026-10-29T20:10:52.580Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/118xxx/CVE-2026-118663.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-118663","state":"PUBLISHED","datePublished":"2026-10-28T20:35:22.948Z","dateUpdated":"2026-10-29T18:26:42.881Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-28T17:25:37.562Z"},"containers":{"cna":{"title":"@hono/node-server: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static paths","descriptions":[{"lang":"en","value":"@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."}],"affected":[{"vendor":"honojs","product":"node-server","versions":[{"version":"> = 1.19.10, < 2.1.3","status":"affected"}]}],"references":[{"url":"https://github.com/honojs/node-server/security/advisories/GHSA-rmxm-3fg6-px4f","name":"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","name":"https://github.com/honojs/node-server/commit/982179278529d5673812116b042829f27794966f","tags":["x_refsource_MISC"]},{"url":"https://github.com/honojs/node-server/releases/tag/v2.1.3","name":"https://github.com/honojs/node-server/releases/tag/v2.1.3","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-28T20:35:22.948Z"},"source":{"advisory":"GHSA-rmxm-3fg6-px4f","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-29T18:26:31.513669Z","id":"CVE-2026-118663","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-29T18:26:42.881Z"}}]}}}