Skip to main content

Hono EUVDEUVD-2026-124739

| CVE-2026-126358 MEDIUM
Incorrect Authorization (CWE-863)
2026-11-12 GitHub_M GHSA-h7mg-cq63-vhpq
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Hono app using RegExpRouter/SmartRouter
  2. Exploit
    Craft path evading wildcard coverage (/admin* or encoded %0A)
  3. Execution
    Request bypasses wildcard auth/authz middleware
  4. Impact
    Reach 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

hono 4.1.4, < 4.13.16

Affected Packages

npm hono fix: 4.13.16

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

Vendor (GitHub_M) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Red Hat 5.3 MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Nov 12, 2026 - 23:03 EUVD

DescriptionCVE.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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 3 npm packages depend on hono (3 direct, 0 indirect)

Ecosystem-wide dependent count for version 4.1.4.

Threat Intelligence Overview

EPSS Score
0.3%
Top 71% exploitable
Prevalence
Medium
popular JavaScript edge/serverless framework, significant but not universal adoption
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Hono

View all
CVE-2025-62610 HIGH POC
8.1 Oct 22

Improper authorization in Hono's JWT Auth Middleware (hono/jwt in the npm package 'hono', versions 1.1.0 through 4.10.1)

CVE-2024-32652 HIGH POC
7.5 Apr 19

The adapter @hono/node-server allows you to run your Hono application on Node.js. Rated high severity (CVSS 7.5), this v

CVE-2024-48913 MEDIUM POC
5.9 Oct 15

Hono, a web framework, prior to version 4.6.5 is vulnerable to bypass of cross-site request forgery (CSRF) middleware by

CVE-2026-71848 MEDIUM POC
5.3 Aug 07

Quadratic-complexity denial of service in Hono's `languageDetector` middleware (versions 4.12.0-4.12.33) allows unauthen

CVE-2026-47676 MEDIUM POC
5.3 May 28

Path prefix stripping in Hono's app.mount() API exposes mounted sub-applications to incorrect routing due to a raw-vs-de

CVE-2024-32869 MEDIUM POC
5.3 Apr 23

Hono is a Web application framework that provides support for any JavaScript runtime. Rated medium severity (CVSS 5.3),

CVE-2024-23340 MEDIUM POC
5.3 Jan 22

@hono/node-server is an adapter that allows users to run Hono applications on Node.js. Rated medium severity (CVSS 5.3),

CVE-2024-43787 MEDIUM POC
5.0 Aug 22

Hono is a Web application framework that provides support for any JavaScript runtime. Rated medium severity (CVSS 5.0),

CVE-2026-71850 MEDIUM POC
4.8 Aug 07

Cross-user HTML disclosure in Hono's server-side rendering affects all applications using hono/jsx with memo()-wrapped c

CVE-2023-50710 MEDIUM POC
4.3 Dec 14

Hono is a web framework written in TypeScript. Rated medium severity (CVSS 4.3), this vulnerability is remotely exploita

CVE-2026-27700 HIGH
8.2 Feb 25

Hono is a Web application framework that provides support for any JavaScript runtime. [CVSS 8.2 HIGH]

CVE-2026-22818 HIGH
8.2 Jan 13

Hono versions before 4.11.4 allow JWT algorithm confusion attacks through improper algorithm validation in the JWK/JWKS

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy