Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @hono/node-server
  4. ›
  5. CVE-2026-39406

CVE-2026-39406: @hono/node-server: Middleware bypass via repeated slashes in serveStatic

April 8, 2026

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.

References

  • github.com/advisories/GHSA-92pp-h63x-v22m
  • github.com/honojs/node-server
  • github.com/honojs/node-server/commit/025c30f55d589ddbe6048b151d77e904f67a8cc2
  • github.com/honojs/node-server/releases/tag/v1.19.13
  • github.com/honojs/node-server/security/advisories/GHSA-92pp-h63x-v22m
  • nvd.nist.gov/vuln/detail/CVE-2026-39406

Code Behaviors & Features

Detect and mitigate CVE-2026-39406 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.19.13

Fixed versions

  • 1.19.13

Solution

Upgrade to version 1.19.13 or above.

Impact 5.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/@hono/node-server/CVE-2026-39406.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:54 +0000.