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

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-05-28T15:26:01.672Z
- Modified: 2026-10-14T20:10:00.190Z
- Also known as: GHSA-2gcr-mfcq-wcc3
- Weaknesses: CWE-444, CWE-693
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- honojs hono: < 4.12.21
- hono (npm): before 4.12.21
- hono hono: before 4.12.21

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/honojs/hono/security/advisories/GHSA-2gcr-mfcq-wcc3> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-47676> (advisory)
- <https://github.com/honojs/hono/commit/6cbb025ff87fca1a3d00d0ccca0eaf3a6385c3f1> (web)
- <https://github.com/honojs/hono> (package)
- <https://github.com/honojs/hono/releases/tag/v4.12.21> (web)

## Sources

- CVE List: [CVE-2026-47676](https://www.cve.org/CVERecord?id=CVE-2026-47676), CVE Terms of Use, modified 2026-05-28
- GitHub Advisory Database: [GHSA-2gcr-mfcq-wcc3](https://github.com/advisories/GHSA-2gcr-mfcq-wcc3), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-47676](https://nvd.nist.gov/vuln/detail/CVE-2026-47676), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2026-47676 · Whole record: https://cve.day/CVE-2026-47676.json · Rebuilt by cve.day 2026-11-25T22:59:22.968Z
