CVE-2026-47676
Hono: app.mount() strips mount prefix using undecoded path, causing incorrect routing for percent-encoded paths
Overview
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.
Source: OX vulnerability database
Severity
5.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness: CWE-444, CWE-693
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | hono | <4.12.21 | 4.12.21 |
Open a package to see all its vulnerabilities.
Operating systems · 16 fixes
chainguard 1 release · 7 packages
| Release | Package | Fixed in |
|---|---|---|
| hono | not affected | |
| commercial-gitlab-rails-ee-19-1 | 19.1.7-r3 | |
| commercial-gitlab-rails-ee-fips-19-1 | 19.1.9-r0 | |
| commercial-gitlab-rails-ee-19-2 +1 | 19.2.7-r1 | |
| commercial-gitlab-rails-ee-19-3 +1 | 19.3.3-r1 | |
| commercial-gitlab-rails-ee-19-4 +1 | 19.4.1-r1 |
1 more row
minimos 1 release · 9 packages
| Release | Package | Fixed in |
|---|---|---|
| opensearch-dashboards-2 +1 | 2.19.6-r0 | |
| n8n | 2.26.4-r0 | |
| mcp-filesystem | 2026.6.16-r0 | |
| openclaw | 2026.6.6-r0 | |
| mcp-mongodb | 3.1.0-r0 | |
| trigger-dev | 4.5.4-r0 |
3 more rows
References
- github.com https://github.com/honojs/hono
- github.com https://github.com/honojs/hono/commit/6cbb025ff87fca1a3d00d0ccca0eaf3a6385c3f1
- github.com https://github.com/honojs/hono/releases/tag/v4.12.21
- github.com https://github.com/honojs/hono/security/advisories/GHSA-2gcr-mfcq-wcc3
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-47676
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.