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

Published Oct 13, 2026
·
Updated

Hono from 4.12.4 before 4.13.11 contains a middleware bypass vulnerability in serveStatic that allows unauthenticated attackers to skip prefix middleware by exploiting double path decoding. Attackers can send malformed percent-encoded paths that the router matches in encoded form, reaching static files without authentication checks running.

Affected Software

1 affected component
npm/hono>=4.12.4<4.13.11

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.11

Event History

Oct 13, 2026
Data Sourced
via Red Hat·02:01 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are exposed?

Deployments using Hono versions from 4.12.4 up to, but not including, 4.13.11 are exposed when serveStatic is used behind prefix middleware intended to enforce authentication or other access checks.

2

What does an attacker need to exploit this issue?

An attacker can be unauthenticated and needs to send a malformed percent-encoded path that is matched by the router in encoded form and then decoded again, allowing the request to reach static files without the prefix middleware running.

3

How can I identify potentially affected request paths?

Review requests to static-file routes for malformed or double-encoded percent-encoded path components, especially where those routes rely on prefix middleware for authentication.

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