Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @hono/node-server
  4. ›
  5. GHSA-frvp-7c67-39w9

GHSA-frvp-7c67-39w9: Node.js Adapter for Hono: Path traversal in `serve-static` on Windows via encoded backslash (`%5C`)

July 21, 2026 (updated August 12, 2026)

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. Directory escape (..) remains blocked.

References

  • github.com/advisories/GHSA-frvp-7c67-39w9
  • github.com/honojs/node-server/commit/cd076e117cfe4cb8d31f9eb11d2e8f38a6cb8faf
  • github.com/honojs/node-server/releases/tag/v2.0.5
  • github.com/honojs/node-server/security/advisories/GHSA-frvp-7c67-39w9

Code Behaviors & Features

Detect and mitigate GHSA-frvp-7c67-39w9 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.15, all versions starting from 2.0.0 before 2.0.5

Fixed versions

  • 1.19.15
  • 2.0.5

Solution

Upgrade to versions 1.19.15, 2.0.5 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/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/GHSA-frvp-7c67-39w9.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:21 +0000.