Intel

AIKIDO-2026-901222

hono is vulnerable to Authentication Bypass

CVE-2026-111757Published 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 the file on disk. A request with a malformed percent encoded path segment matches the router while still partially encoded, then the second decode resolves to a different directory than the one the router matched. Middleware mounted on a static path prefix, including an authentication check, never runs for the file that actually gets served. The fix rejects routed paths containing a raw percent sign by default and adds an allowPercentInPath opt-in for the old behavior.

How do I fix this?

Upgrade the hono 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 on a path prefix also served by serveStatic.

Package

Versions

4.12.4 - 4.13.10

Fixed in 4.13.11

Background info

hono is vulnerable to Authentication Bypass in versions 4.12.4 - 4.13.10.

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