Skip to main content

Hono Framework EUVDEUVD-2026-32927

| CVE-2026-47673 MEDIUM
Improper Authorization (CWE-285)
2026-05-28 GitHub_M GHSA-f577-qrjj-4474
6.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain valid signed JWT token
  2. Delivery
    Craft Authorization header with non-Bearer scheme (e.g., Basic)
  3. Exploit
    Send request to Hono jwt/jwk-protected endpoint
  4. Execution
    Middleware skips scheme validation
  5. Persist
    JWT cryptographic check passes
  6. Impact
    Route access granted

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization verification
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The Hono application must use the built-in jwt or jwk middleware to protect one or more routes - applications not using these specific middleware components are unaffected. The attacker must possess a cryptographically valid JWT token accepted by the application's configured secret or JWKS endpoint; the vulnerability does not enable token forgery or signature bypass. The bypass is triggered by submitting any Authorization header whose scheme is not 'Bearer' but whose second segment is a valid JWT (e.g., 'Basic eyJ...', 'Token eyJ...'). AC:H in the CVSS vector explicitly encodes the requirement for a pre-obtained valid token. Applications with additional downstream scheme validation or API gateways enforcing strict Bearer requirements would not be susceptible to the bypass even if running a vulnerable Hono version.

Impact

The CVSS 4.8 Medium score with vector AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N is internally consistent with the vulnerability's realistic constraints. The High Attack Complexity (AC:H) is the critical limiting factor: exploitation is not opportunistic - the attacker must already possess a valid JWT token signed with the application's secret or trusted key material, which significantly narrows the attacker population. The impact is partial (C:L/I:L), with no availability impact and no scope change. No EPSS score was provided in the input data, so probability-based prioritization cannot be performed. The vulnerability is not in CISA KEV, and no public exploit code has been identified, indicating no observed mass exploitation. In practice, this is a protocol correctness flaw that matters most in environments where downstream systems or audit controls distinguish authentication schemes, or where defense-in-depth depends on strict Bearer enforcement. For typical deployments, the absence of token-forging capability substantially limits impact compared to a full authentication bypass.

Exploit ScenarioDerived

An attacker who holds a valid JWT token - for example, obtained from a prior authenticated session, a shared signing key environment, or a token issued by a related service - constructs an HTTP request to a Hono-protected endpoint with the Authorization header set to 'Basic <valid-JWT>' instead of 'Bearer <valid-JWT>'. The Hono jwt middleware, lacking scheme validation, extracts the token portion, verifies it cryptographically, finds it valid, and grants access. No public exploit code identified at time of analysis.

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

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

Alert me

AnalysisAIv1 – May 28, 2026

Hono's jwt and jwk middleware components fail to enforce the Bearer scheme in the Authorization header, allowing any two-part header value - such as 'Basic <token>' or 'Token <token>' - to pass JWT verification identically to a correctly formed Bearer request. All Hono releases prior to 4.12.21 on any supported JavaScript runtime are affected when these middlewares protect routes. No public exploit identified at time of analysis, and this is not listed in CISA KEV; real-world exploitation requires the attacker to already possess a valid, properly signed JWT.

RemediationAI

The primary fix is to upgrade Hono to version 4.12.21 or later, which enforces strict Bearer scheme validation in the jwt and jwk middlewares before proceeding to token verification. This fix version is confirmed by the vendor security advisory at https://github.com/honojs/hono/security/advisories/GHSA-f577-qrjj-4474. For teams unable to upgrade immediately, a targeted compensating control is to prepend a custom middleware layer that explicitly rejects any Authorization header whose scheme segment is not the literal string 'Bearer', returning a 401 before the jwt/jwk middleware is reached. This has minimal side effects for well-formed clients but adds a validation gate that closes the scheme-bypass path. No other workarounds are referenced in the available advisory data.

Affected VersionsENISA

hono < 4.12.21

Affected Packages

npm hono fix: 4.12.21

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 is a lightweight, cross-runtime Web application framework for JavaScript, supporting Cloudflare Workers, Deno, Bun, Node.js, and other runtimes. Its jwt and jwk built-in middlewares are designed to protect routes by parsing the Authorization header, extracting the token, and verifying it cryptographically. The defect is that the middleware extracts the second segment of any two-part header value without first validating that the first segment is specifically the string 'Bearer'. CWE-285 (Improper Authorization) describes this root cause class precisely: the authorization decision proceeds on an incomplete check, omitting a mandatory scheme validation step. The CPE string cpe:2.3:a:honojs:hono:*:*:*:*:*:*:*:* reflects that all versions of the honojs/hono package across all environments are affected prior to the patched release.

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

NVD PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

Lifecycle Timeline

2
CVSS changed
Oct 14, 2026 - 20:23 NVD
4.8 (MEDIUM) 6.5 (MEDIUM)
Patch available
May 28, 2026 - 18:02 EUVD

DescriptionNVD

Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.21, the jwt and jwk middlewares do not verify that the Authorization header value uses theBearer scheme. Any two-part header value - regardless of the scheme name in the first position - proceeds to JWT verification. A request presenting a valid JWT under a non-Bearer scheme identifier (such as Basic or Token) is authenticated identically to a correctly formed Bearer request. This vulnerability is fixed in 4.12.21.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 8 npm packages depend on hono (8 direct, 0 indirect)

Ecosystem-wide dependent count for version 4.12.21.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

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 No
EPSS 0.0%
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
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
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

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