Use of a Broken or Risky Cryptographic Algorithm Affecting benmcollins/libjwt package, versions [3.0.0,3.3.3)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (9th 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-UNMANAGED-BENMCOLLINSLIBJWT-16700559
  • published15 May 2026
  • disclosed15 May 2026
  • creditNadav0077

Introduced: 15 May 2026

NewCVE-2026-44699  (opens in a new tab)
CWE-327  (opens in a new tab)

How to fix?

Upgrade benmcollins/libjwt to version 3.3.3 or higher.

Overview

Affected versions of this package are vulnerable to Use of a Broken or Risky Cryptographic Algorithm in the verification process. An attacker can bypass authentication by submitting a JWT signed with an HMAC algorithm and an RSA JWK lacking the alg parameter, resulting in verification with a zero-length key. This is only exploitable if applications load RSA keys from JWKS where alg is omitted and select the verification algorithm from the JWT header, such as in a kid lookup callback.

CVSS Base Scores

version 4.0
version 3.1