# CVE-2026-22818: JWT algorithm confusion in Hono JWK Auth Middleware when JWK lacks "alg" (untrusted header.alg fallback)

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-01-13T19:49:52.042Z
- Modified: 2026-09-10T03:50:58.878Z
- Also known as: GHSA-3vhc-576x-3qv4
- Weaknesses: CWE-347
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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 algorithm specified in the JWT header to influence signature verification when the selected JWK did not explicitly define an algorithm. This could enable JWT algorithm confusion and, in certain configurations, allow forged tokens to be accepted. The JWK/JWKS JWT verification middleware has been updated to require an explicit allowlist of asymmetric algorithms when verifying tokens. The middleware no longer derives the verification algorithm from untrusted JWT header values. This vulnerability is fixed in 4.11.4.

(As written by CVE List.)

## Affected

- honojs hono: < 4.11.4
- hono (npm): before 4.11.4
- hono hono: before 4.11.4

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/honojs/hono/security/advisories/GHSA-3vhc-576x-3qv4> (third-party-advisory, web)
- <https://github.com/honojs/hono/commit/190f6e28e2ca85ce3d1f2f54db1310f5f3eab134> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-22818> (advisory)
- <https://github.com/honojs/hono> (package)

## Sources

- CVE List: [CVE-2026-22818](https://www.cve.org/CVERecord?id=CVE-2026-22818), CVE Terms of Use, modified 2026-01-15
- GitHub Advisory Database: [GHSA-3vhc-576x-3qv4](https://github.com/advisories/GHSA-3vhc-576x-3qv4), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-22818](https://nvd.nist.gov/vuln/detail/CVE-2026-22818), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-22818 · Whole record: https://cve.day/CVE-2026-22818.json · Rebuilt by cve.day 2026-11-25T22:59:12.816Z
