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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| honojs | hono | < 4.12.4 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | hono | < 4.12.4 | 4.12.4 | GHSA-q5qw-h33p-qvwr |
Advisories 1
- WID-SEC-2026-0933 IBM App Connect Enterprise (Hono und Undici): Mehrere Schwachstellen BSI CERT-Bund (WID) · May 31, 2026