CVE-2026-22817 Details
Description
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.11.4, there is a flaw in Hono’s JWK/JWKS JWT verification middleware allowed the JWT header’s alg value to influence signature verification when the selected JWK did not explicitly specify an algorithm. This could enable JWT algorithm confusion and, in certain configurations, allow forged tokens to be accepted. As part of this fix, the JWT middleware now requires the alg option to be explicitly specified. This prevents algorithm confusion by ensuring that the verification algorithm is not derived from untrusted JWT header values. This vulnerability is fixed in 4.11.4.
A vulnerability in Hono's JWK/JWKS JWT verification middleware prior to version 4.11.4 allowed the JWT header's 'alg' value to improperly influence signature verification. This issue arose when the selected JWK did not explicitly specify an algorithm, potentially leading to JWT algorithm confusion. In certain configurations, this flaw could enable the acceptance of forged tokens, bypassing authentication or authorization checks. The vulnerability is rooted in the middleware's reliance on untrusted JWT header values for algorithm verification, which could be exploited to manipulate token validation.
Update to Hono version 4.11.4 or later. After upgrading, ensure that the JWT middleware is configured to explicitly require the 'alg' option, as the default fallback has been removed. Applications must adjust their JWT verification settings to include the appropriate algorithm.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-347 | Improper Verification of Cryptographic Signature | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| hono hono | < 4.11.4 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 20, 2026 | Initial Analysis | [email protected] |
| Jan 13, 2026 | New CVE Received | [email protected] |