Home

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.

PUBLISHED Reserved 2026-03-03 | Published 2026-03-04 | Updated 2026-03-05 | Assigner GitHub_M




HIGH: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Problem types

CWE-177: Improper Handling of URL Encoding (Hex Encoding)

Product status

< 4.12.4
affected

References

github.com/...s/hono/security/advisories/GHSA-q5qw-h33p-qvwr

github.com/...ommit/6a0607a929d888893f0c91d92dce2fcfdb3662a3

cve.org (CVE-2026-29045)

nvd.nist.gov (CVE-2026-29045)

Download JSON