{"id":"ghsa-ghsa-5r4p-p66f-jhc7","seq":2431,"kind":"advisory","title":"Hono: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static paths","url":"https://github.com/advisories/GHSA-5r4p-p66f-jhc7","permalink":"https://vulnpulse.app/items/ghsa-ghsa-5r4p-p66f-jhc7","summary":"影響: npm:hono >= 4.12.4, < 4.13.11 → 4.13.11\nSummary serveStatic decodes the request path a second time after Hono has already decoded it for routing. A crafted request can be routed as one path and served as another, so middleware mounted on a static prefix does not run for a file under that prefix. Details Hono decodes the request path once before routing. serveStatic decoded it again before resolving the file. With a malformed percent-encoded sequence, the first decode leaves part of the path encoded, the router matches the encoded for…","severity":"medium","techs":["nodejs"],"cves":["CVE-2026-111757"],"tags":["GHSA-5r4p-p66f-jhc7","hono"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-10-20T14:36:11.000Z","fetched_at":"2026-10-21T16:17:46.637Z"}