CVE-2026-29045 Hono: 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.
영향 받는 제품 제품 1개
-
해결 버전 있음
honojs
hono
영향 받는 버전
- 4.12.4 미만
해결 버전
- 4.12.4 이상