CVE-2026-126358 Details
Description
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.
A vulnerability in the Hono web application framework, specifically in the RegExpRouter component, has been identified. This issue affects versions 4.1.4 through 4.13.15. The vulnerability arises because RegExpRouter can skip applying wildcard middleware in certain scenarios, allowing an unauthenticated client to access route handlers without the necessary authentication or authorization checks. This issue is particularly concerning for applications that rely on wildcard middleware for security purposes.
Upgrade to Hono version 4.13.16, which addresses this vulnerability by ensuring that RegExpRouter applies wildcard middleware correctly in all scenarios. After upgrading, regenerate the PreparedRegExpRouter data to ensure the changes take effect.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 13, 2026CISA-ADP
Assessed Nov 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/honojs/hono/commit/8a103aa59bcfbffd5396b1548a0dff3688777c36 | [email protected] | Source CodeVendor |
| https://github.com/honojs/hono/releases/tag/v4.13.16 | [email protected] | Release NotesVendor |
| https://github.com/honojs/hono/security/advisories/GHSA-h7mg-cq63-vhpq | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-863 | Incorrect Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Hono | >= 4.1.4, <= 4.13.15 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 13, 2026 | CVE Modified | CISA-ADP |
| Nov 13, 2026 | New CVE Received | [email protected] |
Volerion