{"api_version":"1","generated_at":"2026-10-28T23:09:28+00:00","cve":"CVE-2026-118663","urls":{"html":"https://cve.report/CVE-2026-118663","api":"https://cve.report/api/cve/CVE-2026-118663.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-118663","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-118663"},"summary":{"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":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-10-28 21:16:56","updated_at":"2026-10-28 21:16:56"},"problem_types":["CWE-174","CWE-174 CWE-174: Double Decoding of the Same Data"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"5.3","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","baseScore":5.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"5.3","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","data":{"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"}}],"references":[{"url":"https://github.com/honojs/node-server/releases/tag/v2.1.3","name":"https://github.com/honojs/node-server/releases/tag/v2.1.3","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"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","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/honojs/node-server/commit/982179278529d5673812116b042829f27794966f","name":"https://github.com/honojs/node-server/commit/982179278529d5673812116b042829f27794966f","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-118663","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118663","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"honojs","product":"node-server","version":"affected > = 1.19.10, < 2.1.3","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"node-server","vendor":"honojs","versions":[{"status":"affected","version":"> = 1.19.10, < 2.1.3"}]}],"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."}],"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","description":"CWE-174: Double Decoding of the Same Data","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-10-28T20:35:22.948Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/honojs/node-server/security/advisories/GHSA-rmxm-3fg6-px4f","tags":["x_refsource_CONFIRM"],"url":"https://github.com/honojs/node-server/security/advisories/GHSA-rmxm-3fg6-px4f"},{"name":"https://github.com/honojs/node-server/commit/982179278529d5673812116b042829f27794966f","tags":["x_refsource_MISC"],"url":"https://github.com/honojs/node-server/commit/982179278529d5673812116b042829f27794966f"},{"name":"https://github.com/honojs/node-server/releases/tag/v2.1.3","tags":["x_refsource_MISC"],"url":"https://github.com/honojs/node-server/releases/tag/v2.1.3"}],"source":{"advisory":"GHSA-rmxm-3fg6-px4f","discovery":"UNKNOWN"},"title":"@hono/node-server: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static paths"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-118663","datePublished":"2026-10-28T20:35:22.948Z","dateReserved":"2026-10-28T17:25:37.562Z","dateUpdated":"2026-10-28T20:35:22.948Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-28 21:16:56","lastModifiedDate":"2026-10-28 21:16:56","problem_types":["CWE-174","CWE-174 CWE-174: Double Decoding of the Same Data"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","baseScore":5.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":1.4}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"118663","Ordinal":"1","Title":"@hono/node-server: `serveStatic` decodes the request path a seco","CVE":"CVE-2026-118663","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"118663","Ordinal":"1","NoteData":"@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.","Type":"Description","Title":"@hono/node-server: `serveStatic` decodes the request path a seco"}]}}}