Improper Handling of URL Encoding (Hex Encoding) Affecting hono package, versions <4.12.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.04% (14th 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-15419466
  • published5 Mar 2026
  • disclosed5 Mar 2026
  • creditEdamAme-x, techfish-11

Introduced: 5 Mar 2026

NewCVE-2026-29045  (opens in a new tab)
CWE-177  (opens in a new tab)

How to fix?

Upgrade hono to version 4.12.4 or higher.

Overview

hono is an Ultrafast web framework for the Edges

Affected versions of this package are vulnerable to Improper Handling of URL Encoding (Hex Encoding) via inconsistent URL decoding between the serveStatic process and route-based middleware protections. An attacker can access protected static resources without authorization by requesting paths with encoded slashes - e.g. /admin%2Fsecret.html.

Note: This vulnerability specifically affects applications that rely solely on route-based middleware to protect static subpaths.

References

CVSS Base Scores

version 4.0
version 3.1