Description
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to version 4.12.4, when using serveStatic together with route-based middleware protections (e.g. app.use('/admin/*', ...)), inconsistent URL decoding allowed protected static resources to be accessed without authorization. The router used decodeURI, while serveStatic used decodeURIComponent. This mismatch allowed paths containing encoded slashes (%2F) to bypass middleware protections while still resolving to the intended filesystem path. This issue has been patched in version 4.12.4.
References (2)
Core 2
Core References
Vendor Advisory x_refsource_confirm
https://github.com/honojs/hono/security/advisories/GHSA-q5qw-h33p-qvwr
Patch x_refsource_misc
https://github.com/honojs/hono/commit/6a0607a929d888893f0c91d92dce2fcfdb3662a3
Scores
CVSS v3
7.5
EPSS
0.0005
EPSS Percentile
14.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-177
Status
published
Products (2)
hono/hono
< 4.12.4
npm/hono
0 - 4.12.4npm
Published
Mar 04, 2026
Tracked Since
Mar 05, 2026