Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Hono app using RegExpRouter/SmartRouter
-
ExploitCraft path evading wildcard coverage (/admin* or encoded %0A)
-
ExecutionRequest bypasses wildcard auth/authz middleware
-
ImpactReach protected handler or not-found handler unauthenticated
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires all of: (1) the application uses RegExpRouter, directly or via the default SmartRouter; (2) it relies on wildcard-path middleware for authentication/authorization; and (3) one of three specific registration shapes is present - a parameter written with an explicit default pattern such as /api/:tenant{[^/]+}/admin/* paired with a route like /api/:tenant/admin/:id (since 4.13.0); wildcard middleware on /admin/* with a handler registered as /admin* for paths under /admin/ (since 4.1.4); or any wildcard route where a request path with an encoded line terminator (%0A, %0D, %E2%80%A8, %E2%80%A9) falls through to the not-found handler (since 4.4.0). Limiting factors: applications using TrieRouter, LinearRouter, or PatternRouter are not affected, and apps that do not enforce auth via wildcard middleware are not impacted. No authentication or user interaction is required (PR:N/UI:N) once those deployment conditions are met. |
| Impact | This is a medium-severity authorization-bypass (CWE-863) with a CVSS of 5.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N): network-reachable, low complexity, no privileges or user interaction, but only a limited confidentiality impact and no integrity/availability impact in the base score. The vuln.today Decision label is 'this_month' rather than act_now/emergency, which aligns with the medium rating. No EPSS score, no CISA KEV listing, and no exploit-code reference are present in the input, so there is no signal of active or widespread exploitation - the references are solely the vendor advisory, fix commit, and release. The real-world risk is strongly gated by configuration: it only affects applications that use RegExpRouter (the default via SmartRouter) AND depend on wildcard middleware for authentication/authorization AND have one of three specific route-registration shapes. Where those conditions hold, the practical impact can exceed the base C:L (an attacker reaches whatever the 'protected' handler does), but that cannot be confirmed from the data because it depends on each application's routes - the CVSS impact was scored for the framework flaw itself, not downstream handlers. Net: a genuine but conditional priority to patch within the vendor/priority window, not a drop-everything emergency on current signals. |
| Exploit ScenarioDerived | An unauthenticated attacker sends an HTTP request whose path is shaped to evade RegExpRouter's wildcard-coverage calculation - for example a route registered as /admin* reached via a /admin/ sub-path, or a path carrying an encoded line terminator (%0A, %0D, %E2%80%A8, %E2%80%A9) that routes to the not-found handler. Because the wildcard authentication/authorization middleware is not applied in these cases, the request reaches the route or not-found handler with no auth check. No public exploit code was identified in the provided data; exploitation requires only a crafted request given AV:N/AC:L/PR:N. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 12, 2026
RegExpRouter - the router Hono's default SmartRouter selects for most applications - fails to apply wildcard middleware in three registration/request shapes, so an unauthenticated remote client can reach a route handler, or the not-found handler, without the authentication or authorization middleware that was registered on the wildcard path. The flaw affects the npm package hono from 4.1.4 through 4.13.15 and is rated medium severity (CVSS 5.3, AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N per independent assessment), with the practical consequence limited to bypass of middleware-based access control rather than code execution or data corruption. No public exploit code or CISA KEV entry was identified at time of analysis, and the vendor-released patch is version 4.13.16.
RemediationAI
Vendor-released patch: upgrade hono to 4.13.16 (https://github.com/honojs/hono/releases/tag/v4.13.16), which fixes the coverage calculation, makes wildcards match line terminators, and rejects empty-string-matching custom patterns with UnsupportedPathError - applications that use PreparedRegExpRouter must regenerate their prepared router data after upgrading. If an immediate upgrade is not possible, the vendor-documented workaround is to switch routers explicitly with new Hono({ router: new TrieRouter() }), which applies wildcard middleware in all three cases; the trade-off is losing RegExpRouter's matching performance characteristics, and any code relying on RegExpRouter-specific custom patterns should be re-tested under TrieRouter. Inventory registrations that combine wildcard middleware with parameterized or static handler paths (e.g. /api/:tenant{[^/]+}/admin/* with /api/:tenant/admin/:id, or /admin/* with /admin*) as a priority audit target, since those are the shapes that silently drop the middleware chain. See the advisory at https://github.com/honojs/hono/security/advisories/GHSA-h7mg-cq63-vhpq for the full pattern list.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Hono ships several routers; SmartRouter picks RegExpRouter by default for most apps, while TrieRouter, LinearRouter and PatternRouter are unaffected. RegExpRouter computes, at route-registration time, which wildcard middleware covers which route, then compiles a single regular expression to match incoming paths. Three defects break that contract, mapped to CWE-863 (Incorrect Authorization) because the framework's authorization-relevant middleware chain is assembled incorrectly: (1) since 4.13.0, middleware registered with an explicit default parameter pattern such as /api/:tenant{[^/]+}/admin/* is not applied to a route written as /api/:tenant/admin/:id, because the coverage calculation treated patterns matching the same requests as different; (2) since 4.1.4, middleware on /admin/* is not applied to a handler registered as /admin* for paths under /admin/; (3) since 4.4.0, a request path containing an encoded line terminator (%0A, %0D, %E2%80%A8, %E2%80%A9) matches no wildcard because the compiled wildcard did not match line terminators, so the request falls through to the not-found handler without any wildcard middleware executing. The fix derives coverage from the structure of the registered paths, lets wildcards match line terminators, corrects related divergences (wildcards in the middle of parameterized paths, duplicate middleware, middleware on static routes), and rejects custom patterns able to match the empty string, such as {[0-9]*}, with UnsupportedPathError; PreparedRegExpRouter data must be regenerated after upgrading. The precise request-level trigger beyond these three registration shapes is not described in the available sources.
Know when Hono gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Unauthenticated crafted request reaches a handler past wildcard auth middleware, so AV:N/AC:L/PR:N/UI:N; C:L/I:L reflect bounded but route-dependent read/write exposure, A:N.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Blast Radius
ecosystem impact- 3 npm packages depend on hono (3 direct, 0 indirect)
Ecosystem-wide dependent count for version 4.1.4.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Improper authorization in Hono's JWT Auth Middleware (hono/jwt in the npm package 'hono', versions 1.1.0 through 4.10.1)
The adapter @hono/node-server allows you to run your Hono application on Node.js. Rated high severity (CVSS 7.5), this v
Hono, a web framework, prior to version 4.6.5 is vulnerable to bypass of cross-site request forgery (CSRF) middleware by
Quadratic-complexity denial of service in Hono's `languageDetector` middleware (versions 4.12.0-4.12.33) allows unauthen
Path prefix stripping in Hono's app.mount() API exposes mounted sub-applications to incorrect routing due to a raw-vs-de
Hono is a Web application framework that provides support for any JavaScript runtime. Rated medium severity (CVSS 5.3),
@hono/node-server is an adapter that allows users to run Hono applications on Node.js. Rated medium severity (CVSS 5.3),
Hono is a Web application framework that provides support for any JavaScript runtime. Rated medium severity (CVSS 5.0),
Cross-user HTML disclosure in Hono's server-side rendering affects all applications using hono/jsx with memo()-wrapped c
Hono is a web framework written in TypeScript. Rated medium severity (CVSS 4.3), this vulnerability is remotely exploita
Hono is a Web application framework that provides support for any JavaScript runtime. [CVSS 8.2 HIGH]
Hono versions before 4.11.4 allow JWT algorithm confusion attacks through improper algorithm validation in the JWK/JWKS
EUVD-2026-124739
GHSA-h7mg-cq63-vhpq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB