Hono 4.13.11 before 4.13.18 Middleware Bypass via serveStatic allowPercentInPath

State
Published
Severity
6.9 Medium
Published
Nov 26, 2026
Updated
Nov 30, 2026
Reserved
Nov 26, 2026

Read the record on cve.org

Description

Hono from 4.13.11 before 4.13.18 contains a middleware bypass vulnerability in serveStatic that allows unauthenticated attackers to skip prefix middleware by exploiting a second path decode when allowPercentInPath is enabled. Attackers can send malformed percent-encoded sequences so the router matches an encoded path while serveStatic serves the real file, bypassing authentication checks.

ProductVersions
hono honojs4.13.11 to before 4.13.18 Affected4.13.18 Not Affected

Weaknesses

  • CWE-174 Double Decoding of the Same Data

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.