CVE-2026-118663 @hono/node-server: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static paths
설명
@hono/node-server allows running the Hono application on Node.js. From 1.19.10 until 2.1.3, serveStatic decodes a request path a second time after Hono has already decoded it for routing, so a malformed percent-encoded sequence can make route middleware evaluate an encoded path while static file resolution uses a different directory. An unauthenticated attacker can bypass middleware mounted on a protected static prefix and read a file inside the configured static root, although the flaw does not permit traversal outside that root. This issue is fixed in version 2.1.3.
영향 받는 제품 제품 1개
-
honojs
node-server
영향 받는 버전
- 버전 정보 확인 필요
해결 버전
해결 버전은 설명 참고
패키지 기준 해결 버전 패키지 1개
-
해결 버전 있음
npm · @hono/node-server
영향 받는 버전 · 해결 버전
- 영향 1.19.10 이상 2.1.3 미만 · 해결 2.1.3 이상
출처: GitHub Advisory Database · CC-BY 4.0