Use of a Broken or Risky Cryptographic Algorithm Affecting hono package, versions <4.11.4


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use of a Broken or Risky Cryptographic Algorithm vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-HONO-14927374
  • published14 Jan 2026
  • disclosed13 Jan 2026
  • creditDevansh Batham, calloc134

Introduced: 13 Jan 2026

CVE-2026-22817  (opens in a new tab)
CWE-327  (opens in a new tab)

How to fix?

Upgrade hono to version 4.11.4 or higher.

Overview

hono is an Ultrafast web framework for the Edges

Affected versions of this package are vulnerable to Use of a Broken or Risky Cryptographic Algorithm due to the JWT verification middleware using unsafe default fallback algorithm. An attacker can gain unauthorized access or escalate privileges by crafting JWTs with manipulated alg header values and force the middleware to use default HS256 algorithm for verification.

Note:

Users that configured their app without JWK/JWKS middleware or explicitly restrict allowed algorithms are not affected.

References

CVSS Base Scores

version 4.0
version 3.1