p PatchFirst

CVE-2026-47676

CVE-2026-47676 · Hono: app.mount() strips mount prefix using undecoded path, causing incorrect routing for percent-encoded paths

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.21, app.mount() strips the mount prefix from the incoming request path using the raw URL pathname, while route matching is performed against the percent-decoded path. This inconsistency causes the prefix to be stripped at the wrong position when the path contains percent-encoded multi-byte characters, resulting in the mounted sub-application receiving an incorrect path. This vulnerability is fixed in 4.12.21.

CVSS 5.3 · Medium · EPSS 0.3% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • hono

    Versions
    • < 4.12.21: Affected

    No fix published

  • hono npm

    Affected ranges
    • SEMVER: < 4.12.21

    Update to 4.12.21

Original sources

Check your server →