Paper/Archive/CVE-2026-29045

CVE-2026-29045

honojs hono — Hono: Arbitrary file access via serveStatic vulnerability

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
hono< 4.12.4–CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub_M (CNA)7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: partial

References

refgithub.com/honojs/hono/security/advisories/GHSA-q5qw-h33p-qvwrrefgithub.com/honojs/hono/commit/6a0607a929d888893f0c91d92dce2fcfdb3662a3