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

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.48% (percentile 33, 2026-11-28)
- **CWE:** CWE-288
- **Aliases:** GHSA-4m76-xfj5-7975
- **Published:** 2026-11-12T22:18:46.437Z
- **Modified:** 2026-11-17T19:17:50.800Z

## Who should check

- Projects that depend on npm package hono (\< 4.13.16)
- Anyone running honojs hono \< 4.13.16

## Description

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.

## Affected and fixed versions

- npm `hono`: affected \< 4.13.16; fixed 4.13.16 (ghsa)
- honojs hono: \< 4.13.16 (cvelist)

## Technologies

npm packages

## Mitigation

- Upgrade hono to 4.13.16 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-126357. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-126357.md
Affected: hono < 4.13.16
Fixed in: 4.13.16

Steps:
1. Search this machine and project for hono (npm), honojs hono: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-126357 being exploited?

There is no confirmed exploitation: CVE-2026-126357 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.48% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-126357?

Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-126357?

hono \< 4.13.16.

### Is there a fix for CVE-2026-126357?

Yes. Fixed in 4.13.16. Upgrade hono to 4.13.16 or later.

### How do I check if I'm affected by CVE-2026-126357?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/honojs/hono/security/advisories/GHSA-4m76-xfj5-7975>
- patch: <https://github.com/honojs/hono/commit/34f90432a1794b28e52802670efcd01963f716d6>
- other: <https://github.com/honojs/hono/releases/tag/v4.13.16>
- other: <https://github.com/advisories/GHSA-4m76-xfj5-7975>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-126357>
- GitHub Advisory Database: CC-BY 4.0 <https://github.com/advisories/GHSA-4m76-xfj5-7975> (license: <https://creativecommons.org/licenses/by/4.0/>)
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-126357> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-126357>
