CVE-2026-39407
MEDIUM 5.3CVSS 3.1Hono: Middleware bypass via repeated slashes in serveStatic
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.12, a path handling inconsistency in serveStatic allows protected static files to be accessed by using repeated slashes (//) in the request path. When route-based middleware (e.g., /admin/*) is used for authorization, the router may not match paths containing repeated slashes, while serveStatic resolves them as normalized paths. This can lead to a middleware bypass. This vulnerability is fixed in 4.12.12.
- Published
- 8 Apr 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-wmmm-f939-6g9c
- Sources
- NVDJSONOSV GHSA-wmmm-f939-6g9cJSON
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 |
| NVD | nvd@nist.gov (Primary) | 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.11 | |
| OSV | npm | hono | < 4.12.12 | 4.12.12 |
References
- https://github.com/honojs/hono/commit/9aff14bd727f8b0435c963363fd803260e7b8e3c · Patch, WEB
- https://github.com/honojs/hono/releases/tag/v4.12.12 · Release Notes, WEB
- https://github.com/honojs/hono/security/advisories/GHSA-wmmm-f939-6g9c · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-39407 · ADVISORY
- https://github.com/honojs/hono · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 8 Apr 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Apr 2026)