Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-22817

Hono JWT Middleware's JWT Algorithm Confusion via Unsafe Default (HS256) Allows Token Forgery and Auth Bypass

Overview

Published
13 Jan 2026
Modified
17 Jun 2026
Medium CVE
1 Registry packages
4 OS packages
3 Linux distributions
Yes Fix available

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.

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-347

Affected packages · 1

Packages affected by CVE-2026-22817
EcosystemPackageVulnerableFixed in
npm hono <4.11.4 4.11.4

Open a package to see all its vulnerabilities.

Operating systems · 5 fixes

chainguard 1 release · 2 packages

not affected 1 fixed 1
hono langfuse-3
chainguard fixes for CVE-2026-22817
ReleasePackageFixed in
hono not affected
langfuse-3 +1 3.146.0-r1

minimos 1 release · 2 packages

fixed 2
mcp-filesystem trigger-dev
minimos fixes for CVE-2026-22817
ReleasePackageFixed in
mcp-filesystem 2026.6.16-r0
trigger-dev 4.5.4-r0

wolfi 1 release · 1 package

fixed 1
langfuse-3
wolfi fixes for CVE-2026-22817
ReleasePackageFixed in
langfuse-3 3.146.0-r1

References

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.