p PatchFirst

CVE-2026-29045

CVE-2026-29045 · Hono: Arbitrary file access via serveStatic vulnerability

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 version 4.12.4, when using serveStatic together with route-based middleware protections (e.g. app.use('/admin/*', ...)), inconsistent URL decoding allowed protected static resources to be accessed without authorization. The router used decodeURI, while serveStatic used decodeURIComponent. This mismatch allowed paths containing encoded slashes (%2F) to bypass middleware protections while still resolving to the intended filesystem path. This issue has been patched in version 4.12.4.

CVSS 7.5 · High · EPSS 0.5% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • hono

    Versions
    • < 4.12.4: Affected

    No fix published

  • hono npm

    Affected ranges
    • SEMVER: < 4.12.4

    Update to 4.12.4

Original sources

Check your server →