CVE-2026-29045
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.
How to fix
- hono hono4.12.4 or later
- hono4.12.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hono hono | v < 4.12.4 | 4.12.4 |
| hononpm | v < 4.12.4 | 4.12.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.