CVE-2026-47673
Hono: JWT middleware accepts any Authorization scheme, not only Bearer
Overview
Description
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.
Source: OX vulnerability database
Severity
6.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Weakness: CWE-285
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | hono | <4.12.21 | 4.12.21 |
Open a package to see all its vulnerabilities.
Operating systems · 16 fixes
chainguard 1 release · 7 packages
| Release | Package | Fixed in |
|---|---|---|
| hono | not affected | |
| commercial-gitlab-rails-ee-19-1 | 19.1.7-r3 | |
| commercial-gitlab-rails-ee-fips-19-1 | 19.1.9-r0 | |
| commercial-gitlab-rails-ee-19-2 +1 | 19.2.7-r1 | |
| commercial-gitlab-rails-ee-19-3 +1 | 19.3.3-r1 | |
| commercial-gitlab-rails-ee-19-4 +1 | 19.4.1-r1 |
1 more row
minimos 1 release · 9 packages
| Release | Package | Fixed in |
|---|---|---|
| opensearch-dashboards-2 +1 | 2.19.6-r0 | |
| n8n | 2.26.4-r0 | |
| mcp-filesystem | 2026.6.16-r0 | |
| openclaw | 2026.6.6-r0 | |
| mcp-mongodb | 3.1.0-r0 | |
| trigger-dev | 4.5.4-r0 |
3 more rows
References
- github.com https://github.com/honojs/hono
- github.com https://github.com/honojs/hono/commit/5463db2735476959b8af67756f4e513f4fe19115
- github.com https://github.com/honojs/hono/releases/tag/v4.12.21
- github.com https://github.com/honojs/hono/security/advisories/GHSA-f577-qrjj-4474
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-47673
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.