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
| Link | Resource |
|---|---|
| https://github.com/honojs/hono/commit/6a0607a929d888893f0c91d92dce2fcfdb3662a3 | Patch |
| https://github.com/honojs/hono/security/advisories/GHSA-q5qw-h33p-qvwr | Vendor Advisory |
Configurations
History
06 Mar 2026, 18:06
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:* | |
| References | () https://github.com/honojs/hono/commit/6a0607a929d888893f0c91d92dce2fcfdb3662a3 - Patch | |
| References | () https://github.com/honojs/hono/security/advisories/GHSA-q5qw-h33p-qvwr - Vendor Advisory | |
| First Time |
Hono hono
Hono |
04 Mar 2026, 23:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-03-04 23:16
Updated : 2026-03-06 18:06
NVD link : CVE-2026-29045
Mitre link : CVE-2026-29045
CVE.ORG link : CVE-2026-29045
JSON object : View
Products Affected
hono
- hono
CWE
CWE-177
Improper Handling of URL Encoding (Hex Encoding)
