Vulnerability
CVE-2026-126357
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.13.16, mount() and app.mount() can remove a dynamic mount prefix using the route-pattern length rather than the matched-prefix length, allowing a crafted path to be forwarded as a protected inner route while the outer application routes the original path. Since 4.12.21, rebuilding the forwarded URL from the decoded pathname can also convert a decoded backslash to a slash and collapse parent-directory segments, again causing the mounted application to receive a protected path. An unauthenticated client can use either applicable path transformation to reach a mounted route without authentication or authorization middleware scoped to a subpath inside the mount prefix. This issue is fixed in version 4.13.16.
79 advisories report this vulnerability, across 3 ecosystems.
Advisories
- CGA-228v-9vxr-p5wm
- CGA-2997-6rcw-2grj
- CGA-33rh-24cv-whfr
- CGA-34qp-mjc9-x79h
- CGA-3fwh-gc6x-jrw2
- CGA-3gj9-jj4j-2g2w
- CGA-3hrm-xx6h-84q5
- CGA-3r9m-8hp8-qxh7
- CGA-3rrv-hwr6-x49p
- CGA-43mq-2w5p-6wh2
- CGA-492m-2g9g-r63c
- CGA-4hxh-9g4x-3vf8
- CGA-4p3q-xmwm-f375
- CGA-4pwf-v899-xrjr
- CGA-533v-6r88-8rhq
- CGA-5c83-7j65-x6qq
- CGA-5rpf-fwm9-7338
- CGA-626x-6hrw-87mc
- CGA-65m3-pmrj-2r6v
- CGA-73vc-53j5-53jr
- CGA-746r-5fcq-8v69
- CGA-79q7-v7fp-jm79
- CGA-7f5m-4946-g34h
- CGA-7fg4-38mg-jp2x
- CGA-8fj2-4rgp-cfvf
- CGA-8hgj-9764-f5gh
- CGA-8pg6-7g89-25wx
- CGA-8wv7-v8f9-chhh
- CGA-9hv2-gr95-pj4g
- CGA-9pqm-2g5f-pv29
- CGA-9w6c-rp69-7h4j
- CGA-c3wf-jvgc-9wp5
- CGA-c6cq-2353-f236
- CGA-c8pg-g96m-g24c
- CGA-cmp4-w692-wxhx
- CGA-cxpr-4x7v-rjxf
- CGA-f29r-79m7-pm84
- CGA-f44f-762g-qm4w
- CGA-f735-234g-c72p
- CGA-f86v-p2pp-8c8r
- CGA-fgvg-9pjq-c7v7
- CGA-fhjp-fr75-x8wv
- CGA-frg9-5vq9-3jr6
- CGA-fvxj-p3gr-g7gw
- CGA-fx52-rxgx-g5hj
- CGA-gc5x-hvw8-699v
- CGA-hhpw-74xv-34wp
- CGA-hjvc-5px2-632j
- CGA-hmx4-mc89-8xxm
- CGA-jfr3-3gqw-chx3
- CGA-jfrq-2vf4-2qj8
- CGA-jqqr-x3f2-8g45
- CGA-m7q3-rjgr-2rwf
- CGA-mjc6-44jf-h4g6
- CGA-p3m2-pxmr-w463
- CGA-p42c-fx2q-mh5j
- CGA-ph7c-cv4q-4w2r
- CGA-pr4h-93h2-2fwr
- CGA-q2cw-gmwg-99g4
- CGA-q4wp-cr48-h9xq
- CGA-q5h2-fhmp-7g2c
- CGA-qf8j-q5xq-6799
- CGA-qfx3-m9qj-hx47
- CGA-qjp4-crhq-fw4h
- CGA-qvjr-pvjh-66mg
- CGA-r3px-j6q7-m774
- CGA-r4vf-5j4p-3mmw
- CGA-r9rw-p3hm-8v8h
- CGA-rfxq-6fq7-994w
- CGA-rgj7-7vwf-h737
- CGA-rrh2-x4x2-93g8
- CGA-vf6p-cm2r-5chq
- CGA-w3xx-3vch-q565
- CGA-wqhj-62rj-6v8r
- CGA-xcqr-cvq2-xgcm
- CGA-xjcm-gqwf-pq4w
- CGA-xqqc-w3vw-5vr8
-
GHSA-4m76-xfj5-7975
Hono: `mount()` and `app.mount()` can forward a path that bypasses middleware scoped inside the mount prefix
-
RHVEX-CVE-2026-126357
hono: Hono: Authorization bypass via improper path forwarding in mounted routes