CVE-2026-29045
CRITICAL 9.8CVSS 3.1Hono vulnerable to arbitrary file access via serveStatic vulnerability
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.
- Published
- 4 Mar 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-177
- Also known as
- GHSA-q5qw-h33p-qvwr
- Sources
- NVDJSONOSV GHSA-q5qw-h33p-qvwrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/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.4 | 4.12.4 |
| OSV | npm | hono | < 4.12.4 | 4.12.4 |
References
- https://github.com/honojs/hono/commit/6a0607a929d888893f0c91d92dce2fcfdb3662a3 · Patch, WEB
- https://github.com/honojs/hono/security/advisories/GHSA-q5qw-h33p-qvwr · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-29045 · ADVISORY
- https://github.com/honojs/hono · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 4 Mar 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 4 Mar 2026)