PT-2026-31281 · Hono · Hono

CVE-2026-39407

·

Published

2026-04-08

·

Updated

2026-07-27

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions Hono versions prior to 4.12.12
Description A path handling inconsistency in serveStatic allows protected static files to be accessed by using repeated slashes (//) in the request path. When route-based middleware (e.g., /admin/*) is used for authorization, the router may not match paths containing repeated slashes, while serveStatic resolves them as normalized paths. This can lead to a middleware bypass. For example, a request like GET //admin/secret.txt can bypass middleware registered on /admin/* and access protected files. The routing layer and serveStatic handle repeated slashes differently.
Recommendations Update to version 4.12.12 or later.

Exploit

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CLEANSTART-2026-BE61221
CVE-2026-39407
GHSA-WMMM-F939-6G9C

Affected Products

Hono