p PatchFirst

CVE-2026-126357

CVE-2026-126357 · Hono: `mount()` and `app.mount()` can forward a path that bypasses middleware scoped inside the mount prefix

CVSS 5.3 · Medium · EPSS 0.5% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • honoNo fix published
  • hono npmUpdate to 4.13.16

Check the installed version:

npm ls hono

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

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.13.16, mount() and app.mount() can remove a dynamic mount prefix using the route-pattern length rather than the matched-prefix length, allowing a crafted path to be forwarded as a protected inner route while the outer application routes the original path. Since 4.12.21, rebuilding the forwarded URL from the decoded pathname can also convert a decoded backslash to a slash and collapse parent-directory segments, again causing the mounted application to receive a protected path. An unauthenticated client can use either applicable path transformation to reach a mounted route without authentication or authorization middleware scoped to a subpath inside the mount prefix. This issue is fixed in version 4.13.16.

Published
Updated

Fixes in distributions

Stack: node

Affected products and versions

  • hono

    Versions
    • < 4.13.16: Affected

    No fix published

  • hono npm

    Affected ranges
    • SEMVER: < 4.13.16

    Update to 4.13.16

Original sources

Check your server →