Authentication Bypass Using an Alternate Path or Channel Affecting hono package, versions >=4.13.16 <4.13.18


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.56% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-HONO-23050683
  • published30 Nov 2026
  • disclosed26 Nov 2026
  • creditongteckwu

Introduced: 26 Nov 2026

NewCVE-2026-137486  (opens in a new tab)
CWE-288  (opens in a new tab)

How to fix?

Upgrade hono to version 4.13.18 or higher.

Overview

hono is an Ultrafast web framework for the Edges

Affected versions of this package are vulnerable to Authentication Bypass Using an Alternate Path or Channel via mount() and app.mount() when a custom getPath adds a prefix to the routed path. The fix for GHSA-4m76-xfj5-7975 in 4.13.16 made these functions remove the mount prefix from the raw request path by counting the segments of the routed path. When a custom getPath prepends a prefix (for example, a hostname for host-based routing), the routed path has more segments than the raw path, causing one segment too many to be removed. The mounted application then receives a different path from the one the outer application routed and protected, allowing an unauthenticated attacker to reach routes that are guarded by path-scoped middleware such as authentication checks.

Note: This is only exploitable on versions 4.13.16 and 4.13.17 when mount() or app.mount() is used together with a custom getPath that adds a prefix, and the application relies on middleware registered on a sub-path inside the mount prefix for authentication or authorization.

References

CVSS Base Scores

version 4.0
version 3.1