CVE-2026-39407

Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.12, a path handling inconsistency in serveStatic allows protected static files to be accessed by using repeated slashes (//) in the request path. When route-based middleware (e.g., /admin/*) is used for authorization, the router may not match paths containing repeated slashes, while serveStatic resolves them as normalized paths. This can lead to a middleware bypass. This vulnerability is fixed in 4.12.12.
Configurations

Configuration 1 (hide)

cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*

History

24 Jul 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) Hono es un framework de aplicación web que proporciona soporte para cualquier tiempo de ejecución de JavaScript. Antes de la versión 4.12.12, una inconsistencia en el manejo de rutas en serveStatic permite que archivos estáticos protegidos sean accedidos usando barras repetidas (//) en la ruta de la solicitud. Cuando se utiliza middleware basado en rutas (p. ej., /admin/*) para la autorización, el router puede no coincidir con rutas que contienen barras repetidas, mientras que serveStatic las resuelve como rutas normalizadas. Esto puede llevar a una omisión del middleware. Esta vulnerabilidad se corrige en la versión 4.12.12.

21 Apr 2026, 18:36

Type Values Removed Values Added
First Time Hono
Hono hono
References () https://github.com/honojs/hono/commit/9aff14bd727f8b0435c963363fd803260e7b8e3c - () https://github.com/honojs/hono/commit/9aff14bd727f8b0435c963363fd803260e7b8e3c - Patch
References () https://github.com/honojs/hono/releases/tag/v4.12.12 - () https://github.com/honojs/hono/releases/tag/v4.12.12 - Release Notes
References () https://github.com/honojs/hono/security/advisories/GHSA-wmmm-f939-6g9c - () https://github.com/honojs/hono/security/advisories/GHSA-wmmm-f939-6g9c - Vendor Advisory
CPE cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*

08 Apr 2026, 15:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-08 15:16

Updated : 2026-07-24 21:10


NVD link : CVE-2026-39407

Mitre link : CVE-2026-39407

CVE.ORG link : CVE-2026-39407


JSON object : View

Products Affected

hono

  • hono
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')