CVE-2026-44699
published critical CVSS 4.0 · 9.1LibJWT: Algorithm confusion allows JWT forgery with RSA JWK as empty-key HMAC
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| benmcollins | — | libjwt>= 3.0.0, < 3.3.3 | Affected | Not stated | GitHub_M |
Description
LibJWT is a C JSON Web Token Library. From 3.0.0 to 3.3.2, libjwt accepts an RSA JWK that does not contain an alg parameter as the verification key for an HS256/HS384/HS512 token. In the OpenSSL backend, this causes HMAC verification to run with a zero-length key, so an attacker can forge a valid JWT without knowing any secret or RSA private key. This is an algorithm-confusion authentication bypass. It affects applications that load RSA keys from JWKS where alg is omitted, which is valid JWK syntax and common in real deployments, and then choose the verification algorithm from the JWT header, for example in a kid lookup callback. This vulnerability is fixed in 3.3.3.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| benmcollins | libjwt | >= 3.0.0, < 3.3.3 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-327 CWE-327: Use of a Broken or Risky Cryptographic Algorithm
- CWE-347 CWE-347: Improper Verification of Cryptographic Signature
References
1Provider assertions
2GitHub_M · cna
LibJWT: Algorithm confusion allows JWT forgery with RSA JWK as empty-key HMAC
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 63fe2c25b0283f7a70e983e2038d552724bd5633f961f921fc0dce18d00fea2d
- Ingested
- 23 Sep 2026, 09:15:17 UTC
- Source record
- Official CVE record