Double Decoding of the Same Data Affecting hono package, versions >=4.13.11 <4.13.18


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.55% (40th 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-23050685
  • published30 Nov 2026
  • disclosed26 Nov 2026
  • creditFigo5

Introduced: 26 Nov 2026

NewCVE-2026-137483  (opens in a new tab)
CWE-174  (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 Double Decoding of the Same Data via serveStatic when the allowPercentInPath option is enabled. A malformed percent-encoded request path is decoded once before routing, leaving part of the path still encoded so the router matches the encoded form. A second decode inside serveStatic then resolves the real file path, meaning middleware mounted on a static prefix - such as an authentication check - does not run for files served under that prefix.

Note: This is only exploitable when allowPercentInPath: true is explicitly set and middleware is mounted on part of the directory served by serveStatic.

References

CVSS Base Scores

version 4.0
version 3.1