CVE-2026-47676
MEDIUM 5.3CVSS 3.1Hono: app.mount() strips mount prefix using undecoded path, causing incorrect routing for percent-encoded paths
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.
- Published
- 28 May 2026
- Last modified
- 14 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-444CWE-693
- Also known as
- GHSA-2gcr-mfcq-wcc3
- Sources
- NVDJSONOSV GHSA-2gcr-mfcq-wcc3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hono | honocpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:* |
< 4.12.21 | 4.12.21 |
| OSV | npm | hono | < 4.12.21 | 4.12.21 |
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
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 28 May 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 4 Jun 2026)