CVE-2026-29045
published high CVSS 3.1 · 7.5Hono: Arbitrary file access via serveStatic vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| honojs | — | hono< 4.12.4 | Affected | Not stated | GitHub_M |
Description
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to version 4.12.4, when using serveStatic together with route-based middleware protections (e.g. app.use('/admin/*', ...)), inconsistent URL decoding allowed protected static resources to be accessed without authorization. The router used decodeURI, while serveStatic used decodeURIComponent. This mismatch allowed paths containing encoded slashes (%2F) to bypass middleware protections while still resolving to the intended filesystem path. This issue has been patched in version 4.12.4.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| honojs | hono | < 4.12.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-177 CWE-177: Improper Handling of URL Encoding (Hex Encoding)
References
2Provider assertions
2GitHub_M · cna
Hono: Arbitrary file access via serveStatic vulnerability
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 35a2d4d74861f302e30cd8e4a44df2245f0407af68c34b80b9e3eb4045b9be9b
- Ingested
- 23 Sep 2026, 09:08:32 UTC
- Source record
- Official CVE record