Hono 4.13.11 before 4.13.18 Middleware Bypass via serveStatic allowPercentInPath
- State
- Published
- Severity
- 6.9 Medium
- Published
- Nov 26, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 26, 2026
Description
Hono from 4.13.11 before 4.13.18 contains a middleware bypass vulnerability in serveStatic that allows unauthenticated attackers to skip prefix middleware by exploiting a second path decode when allowPercentInPath is enabled. Attackers can send malformed percent-encoded sequences so the router matches an encoded path while serveStatic serves the real file, bypassing authentication checks.
| Product | Versions |
|---|---|
| hono honojs | 4.13.11 to before 4.13.18 Affected4.13.18 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | VulnCheck | |
| 3.1 | 5.3 Medium | VulnCheck |
Weaknesses
- CWE-174 Double Decoding of the Same Data
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.