Intel

AIKIDO-2026-999858

@hono/node-server is vulnerable to Authentication Bypass

CVE-2026-118663Published Oct 5, 2026
October 5, 2026

53

CVE Score

Medium

Authentication Bypass

Are you affected? Scan for Free

TL;DR

serveStatic decodes the routed request path a second time before resolving a file, after Hono's router has already decoded it once. A request with a malformed or double percent encoded path can route against one path while serveStatic resolves and serves a different file under the same root, so middleware mounted on a narrower prefix, such as an authentication check, does not run for that file. The resolved file still stays inside the configured root, so this is a middleware bypass rather than directory traversal. The patch adds an allowPercentInPath option and rejects routed paths containing % by default before decoding.

How do I fix this?

Upgrade the @hono/node-server library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you mount middleware, such as an authentication check, on a path narrower than the one served by serveStatic.

Versions

0.0.1 - 2.1.2

Fixed in 2.1.3

Background info

@hono/node-server is vulnerable to Authentication Bypass in versions 0.0.1 - 2.1.2.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea