PatchSiren cyber security CVE debrief
CVE-2026-47673 honojs CVE debrief
## Summary Hono's JWT and JWK middlewares prior to version 4.12.21 fail to validate that the Authorization header uses the Bearer scheme. The middleware accepts any two-part header value and proceeds directly to JWT verification, regardless of the scheme identifier. A valid JWT presented under alternative schemes (e.g., Basic, Token) is authenticated identically to a properly formed Bearer request. ## Technical Details The vulnerability exists in the authentication middleware logic where the Authorization header is parsed. Rather than strictly requiring the Bearer scheme prefix, the implementation extracts the second component of any space-separated header value and treats it as a JWT token. This allows attackers to bypass intended authentication scheme restrictions by presenting valid JWTs under non-Bearer scheme identifiers. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N) reflects network attack vector with high attack complexity, requiring no privileges or user interaction, with low impacts to confidentiality and integrity. ## Affected Versions - Hono: versions prior to 4.12.21 ## Fixed Versions - Hono: 4.12.21 and later ## Recommended Actions 1. Upgrade Hono to version 4.12.21 or later to obtain the corrected scheme validation 2. Review application logs for authentication anomalies involving non-Bearer Authorization headers 3. Implement additional authorization header validation at the application layer as a defense-in-depth measure until patching is complete 4. Audit JWT middleware configurations to ensure expected authentication behavior ## References - CVE Record: CVE-2026-47673 - NVD Detail: CVE-2026-47673 - GitHub Security Advisory: GHSA-f577-qrjj-4474
- Vendor
- honojs
- Product
- hono
- CVSS
- MEDIUM 4.8
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-05-28
- Original CVE updated
- 2026-05-29
- Advisory published
- 2026-05-28
- Advisory updated
- 2026-05-29
Who should care
Organizations using Hono framework with JWT or JWK authentication middleware, particularly those relying on scheme-specific authorization controls or operating in multi-tenant environments where authentication scheme enforcement is security-critical.
Technical summary
The jwt and jwk middlewares in Hono prior to 4.12.21 do not verify that Authorization headers use the Bearer scheme. Any two-part header value proceeds to JWT verification regardless of scheme identifier, allowing valid JWTs presented under non-Bearer schemes to authenticate successfully.
Defensive priority
medium
Recommended defensive actions
- Upgrade Hono to version 4.12.21 or later
- Review application logs for authentication anomalies involving non-Bearer Authorization headers
- Implement additional authorization header validation at the application layer as defense-in-depth
- Audit JWT middleware configurations to ensure expected authentication behavior
Evidence notes
Vulnerability description and fix version derived from official CVE record and GitHub Security Advisory. CVSS vector and score from NVD source data. CWE-285 (Improper Authorization) identified as primary weakness classification.
Official resources
-
CVE-2026-47673 CVE record
CVE.org
-
CVE-2026-47673 NVD detail
NVD
-
Source item URL
nvd_modified
- Source reference
2026-05-28