CVE-2026-29045 Hono: Arbitrary file access via serveStatic vulnerability
CriticalCVSS 9.8
EPSS 0.59%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| hono | < 4.12.4 | 4.12.4 | Fixed |
| npm hono(npm) | < 4.12.4 | 4.12.4 | Fixed |
| honojs hono | = < 4.12.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| honojs hono | = < 4.12.4 | No fix listed |
| npm hono(npm) | < 4.12.4 | 4.12.4 |
| hono | < 4.12.4 | 4.12.4 |
References
- https://github.com/honojs/hono/security/advisories/GHSA-q5qw-h33p-qvwr vendor-advisory
- https://github.com/honojs/hono/commit/6a0607a929d888893f0c91d92dce2fcfdb3662a3 patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product