๐Ÿ” CVE Alert

CVE-2026-126358

MEDIUM 5.3

Hono: RegExpRouter skips wildcard middleware for some route sets and for paths with an encoded line terminator

CVSS Score
5.3
EPSS Score
0.0%
EPSS Percentile
0th

Hono is a Web application framework that provides support for any JavaScript runtime. From 4.1.4 until 4.13.16, RegExpRouter can omit wildcard middleware in three version-specific cases: since 4.13.0, middleware using the explicit default parameter pattern in /api/:tenant{[^/]+}/admin/* is not applied to a route written as /api/:tenant/admin/:id; since 4.1.4, middleware on /admin/* is not applied to a route registered as /admin* for paths under /admin/; and since 4.4.0, a request path containing an encoded line terminator can reach the not-found handler without wildcard middleware. The default SmartRouter selects RegExpRouter for most applications, and the router's registration-time coverage calculation treated the first two matching pattern pairs as different while its compiled wildcard did not match line terminators in the third case. An unauthenticated client can reach a route handler or the not-found handler without authentication or authorization middleware registered on the wildcard path. TrieRouter, LinearRouter, and PatternRouter apply the middleware in the three described cases. This issue is fixed in version 4.13.16.

CWE CWE-863
Vendor honojs
Product hono
Published Nov 12, 2026
Stay Ahead of the Next One

Get instant alerts for honojs hono

Be the first to know when new medium vulnerabilities affecting honojs hono are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Affected Versions

honojs / hono
>= 4.1.4, < 4.13.16

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/honojs/hono/security/advisories/GHSA-h7mg-cq63-vhpq github.com: https://github.com/honojs/hono/commit/8a103aa59bcfbffd5396b1548a0dff3688777c36 github.com: https://github.com/honojs/hono/releases/tag/v4.13.16