Technical impact
The vulnerability in @hono/node-server originates from the serveStatic function decoding a request path twice—once during routing and again during static file resolution. A crafted percent‑encoded path can therefore be interpreted differently by the middleware and the static resolver, allowing an attacker to bypass any middleware mounted on a protected static prefix and read files that reside inside the configured static root. The flaw does not permit directory traversal beyond that root, but it does expose sensitive, otherwise protected files to unauthenticated users.
Affected Systems
Versions of honojs:node-server from 1.19.10 up to, but not including, 2.1.3 are vulnerable. The double‑decoding behavior was removed in release 2.1.3, so all releases 2.1.3 and later are safe when used without custom path manipulation logic.
Risk and Exploitability
The CVSS score of 5.3 indicates moderate severity. An EPSS score of 0.00353 indicates a very low likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog, suggesting that large‑scale exploitation is not currently expected. The likely attack vector is a normal HTTP request to a static route with a specially crafted percent‑encoded path; no special privileges or authentication are required to trigger the bypass.
Github GHSA