← volver
CVE-2026-54286

Hono: Path traversal in `serve-static` on Windows via encoded backslash (`%5C`)

CVSS 5.9 MEDIUMEPSS 0.3%CWE-22
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.25, on Windows hosts, an encoded backslash (%5C) in the request path decodes to \, which the Windows path resolver treats as a separator. serve-static then resolves a single URL segment such as admin\secret.txt into a nested file under the root and serves it, letting an attacker read static files meant to be protected behind prefix-mounted middleware. This vulnerability is fixed in 4.12.25.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Productos afectados
honojs · hono

¿Quieres saber si tu infraestructura está expuesta a esto?

Hablar con TrueHacking →