Vulnerability
CVE-2026-29045
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.
29 advisories report this vulnerability, across 2 ecosystems.
Advisories
- CGA-233v-657r-5mmr
- CGA-2735-wwqr-43gh
- CGA-2w8h-7w6w-2v2v
- CGA-3j75-6cw8-cv4x
- CGA-4m59-gm9v-h6mq
- CGA-7j59-4j7j-q3ph
- CGA-888h-6696-w5m7
- CGA-8qxp-xxpq-7mqg
- CGA-9997-r553-h9qm
- CGA-c6rf-3ffm-m43p
- CGA-cwv9-g7fw-xg57
- CGA-fhmp-84x7-3x3f
- CGA-fm7m-pgvh-pr5j
- CGA-fw72-3429-48xg
- CGA-g2xj-fcxx-7hg3
- CGA-gvj4-m8wv-mcjm
- CGA-h8xc-m73v-7pm6
- CGA-hqvm-xgv3-55cp
- CGA-hr75-qmrv-542j
- CGA-m3hm-9839-p2ff
- CGA-m699-r5cg-8gv4
- CGA-pvcq-74m8-4j6q
- CGA-pxrm-gpgq-w78m
- CGA-q6g7-wg83-qrph
- CGA-rrc2-ccjv-hjw9
- CGA-w4v5-4w69-39rc
- CGA-w964-vw38-69hr
- CGA-xr59-2xx6-gxxv
-
GHSA-q5qw-h33p-qvwr
Hono vulnerable to arbitrary file access via serveStatic vulnerability