CVE-2026-126357: Hono: `mount()` and `app.mount()` can forward a path that bypasses middleware scoped inside the mount prefix
Published 2026-11-12 · Updated 2026-11-12 · Also known as GHSA-4m76-xfj5-7975
Summary
Hono's mount() and app.mount() can forward a crafted path in a way that bypasses path-scoped middleware registered on the outer application inside the mount prefix. Teams using affected Hono versions and relying on that middleware for authentication or authorization should upgrade to 4.13.16 or later.
Who is affected
Affected deployments are Hono applications that use mount() or app.mount() and depend on middleware registered on a sub-path inside the mount prefix for authentication or authorization. A crafted request can reach a route of the mounted application while the outer application's path-scoped middleware does not run. Applications that do not use these mount APIs or that enforce authentication inside the mounted application are not described as affected.
Exploitability
The CVSS 3.1 vector is 5.3 with AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N, indicating a network-reachable, low-complexity, unauthenticated issue with low confidentiality impact only. EPSS is 0.004 with percentile 0.349, and CISA KEV is no, so there is no documented evidence of active exploitation.
Remediation
- Upgrade the npm package hono to version 4.13.16 or later.
- If immediate upgrade is not possible, register authentication and authorization middleware inside the mounted application rather than relying only on middleware scoped to a sub-path inside the mount prefix.
How to check your project
- Inspect package.json and lockfiles such as package-lock.json, yarn.lock, or pnpm-lock.yaml for hono, and confirm whether the installed version is below 4.13.16; npm ls hono or the equivalent package-manager command can show the resolved version.
- Search application code for mount() or app.mount() usage and for middleware registered on sub-paths inside those mount prefixes, especially authentication or authorization checks.
Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| npm | hono |
>= 0, < 4.13.16 | 4.13.16 | npm install [email protected] |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | Low |
| Integrity | None |
| Availability | None |
FAQ
Which Hono versions are affected?
The affected npm package range is hono introduced at 0 and fixed in 4.13.16, so versions before 4.13.16 are in the affected range.
Is this vulnerability known to be exploited in the wild?
No. CISA KEV is no, and EPSS is 0.004 with percentile 0.349; active exploitation is not documented in the provided record.
What should be done if the application relies on path-scoped auth middleware inside a mount prefix?
Upgrade hono to 4.13.16 or later. If that cannot be done immediately, register the authentication middleware inside the mounted application as described in the workaround.
Original advisory description
References
- WEB https://github.com/honojs/hono/security/advisories/GHSA-4m76-xfj5-7975
- WEB https://github.com/honojs/hono/commit/34f90432a1794b28e52802670efcd01963f716d6
- PACKAGE https://github.com/honojs/hono
- WEB https://github.com/honojs/hono/releases/tag/v4.13.16
Source records: GHSA-4m76-xfj5-7975 (OSV.dev) · EPSS by FIRST, 2026-11-26.