REDHAT-BUG-2572859: Medium severity npm/hono vulnerability

Published Nov 12, 2026
·
Updated

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.

Affected Software

1 affected component
npm/hono<4.13.16

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.13.16

Event History

Nov 12, 2026
Data Sourced
via Red Hat·10:31 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which Hono versions should be considered affected?

The issue is fixed in Hono 4.13.16. Versions before 4.13.16 are affected by the mount-prefix handling flaw; the decoded-path reconstruction behavior is present since 4.12.21.

2

Does exploitation require an authenticated account?

No. An unauthenticated client can exploit applicable path transformations to reach mounted routes that should be protected by authentication or authorization middleware.

3

What deployment pattern is exposed?

Applications using mount() or app.mount() are exposed when protection is scoped to a subpath inside the mount prefix. The outer application must route the original path while the mounted application receives a transformed protected path.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203