{"id":"CVE-2026-111757","published":"2026-10-19T17:31:20Z","modified":"2026-10-20T16:10:30Z","title":"Hono: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static paths","vendor":"honojs","product":"hono","tier":"tail","description":{"text":"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.","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.00372,"percentile":0.23144,"provenance":"source"},"cwes":[{"id":"CWE-174","name":"Double Decoding of the Same Data"}],"references":[{"url":"https://github.com/honojs/hono/security/advisories/GHSA-5r4p-p66f-jhc7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/honojs/hono/commit/8b05c774ef1555c70f5ba5e2991b7e77cc3635cc","tags":["x_refsource_MISC"]}],"priority":{"score":8.3,"factors":[{"name":"EPSS percentile","points":4.63},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"honojs","affectedVersions":[{"vendor":"honojs","product":"hono","versions":[">= 4.12.4, < 4.13.11"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-20T15:18:52.675084Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"hono","vulnerableRanges":[">=4.12.4, <4.13.11"],"patched":["4.13.11"],"from":["GHSA-5r4p-p66f-jhc7"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-104537","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-honojs-hono-cve-2021-22964","parents":[{"from":"CVE-2026-109955","to":"CVE-2026-111757","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-5r4p-p66f-jhc7","via":"reference","url":"https://github.com/honojs/hono/security/advisories/GHSA-5r4p-p66f-jhc7"},{"kind":"similar","provenance":"machine","score":0.49,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2024-32869","to":"CVE-2026-111757","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/middleware/serve-static/index.ts"],"commits":["https://github.com/honojs/hono/commit/92e65fbb6e5e7372650e7690dbd84938432d9e65","https://github.com/honojs/hono/commit/8b05c774ef1555c70f5ba5e2991b7e77cc3635cc"],"basis":"rarely changed file"}]},{"from":"CVE-2026-29045","to":"CVE-2026-111757","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/middleware/serve-static/index.ts"],"commits":["https://github.com/honojs/hono/commit/8b05c774ef1555c70f5ba5e2991b7e77cc3635cc","https://github.com/honojs/hono/commit/6a0607a929d888893f0c91d92dce2fcfdb3662a3"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-84364","published":"2026-09-01","fixed":"4.13.5","kev":false},{"cve":"CVE-2026-84365","published":"2026-09-01","fixed":"4.13.5","kev":false},{"cve":"CVE-2026-93981","published":"2026-09-19","fixed":"4.13.7","kev":false,"link":{"from":"CVE-2026-93981","to":"CVE-2026-111757","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:hono","fromFixed":"4.13.7","toFixed":"4.13.11","daysApart":30}]}},{"cve":"CVE-2026-111757","published":"2026-10-19","fixed":"4.13.11","kev":false},{"cve":"CVE-2026-126355","published":"2026-11-12","fixed":"4.13.16","kev":false},{"cve":"CVE-2026-126356","published":"2026-11-12","fixed":"4.13.16","kev":false},{"cve":"CVE-2026-126357","published":"2026-11-12","fixed":"4.13.16","kev":false}],"package":"npm:hono"}}