p PatchFirst

CVE-2026-39407

CVE-2026-39407 · Hono has a middleware bypass via repeated slashes in serveStatic

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.12, 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. This vulnerability is fixed in 4.12.12.

CVSS 5.3 · Medium · EPSS 0.5% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • hono

    Versions
    • < 4.12.12: Affected

    No fix published

  • hono npm

    Affected ranges
    • SEMVER: < 4.12.12

    Update to 4.12.12

Original sources

Check your server →