CVE-2026-44699: CWE-327: Use of a Broken or Risky Cryptographic Algorithm in benmcollins libjwt
CVE-2026-44699 is a critical vulnerability in libjwt versions 3. 0. 0 through 3. 3. 2 where the library accepts an RSA JWK without an alg parameter as a verification key for HS256/HS384/HS512 tokens. This causes HMAC verification to run with a zero-length key in the OpenSSL backend, allowing attackers to forge valid JWTs without knowing any secret or RSA private key. The issue arises from algorithm confusion when applications load RSA keys from JWKS missing the alg parameter and select the verification algorithm from the JWT header. This vulnerability is fixed in libjwt version 3. 3. 3.
AI Analysis
Technical Summary
LibJWT, a C library for JSON Web Tokens, versions 3.0.0 to 3.3.2, improperly handles RSA JWKs lacking the alg parameter by using them as verification keys for HMAC-based tokens (HS256/HS384/HS512). In the OpenSSL backend, this leads to HMAC verification with a zero-length key, enabling an attacker to forge valid JWTs without possessing any secret or RSA private key. This is an algorithm confusion vulnerability affecting applications that load RSA keys from JWKS where the alg parameter is omitted (which is valid JWK syntax) and rely on the JWT header to determine the verification algorithm. The vulnerability is addressed in version 3.3.3 of libjwt. The affected product is a cloud service, and the vendor typically manages patching server-side.
Potential Impact
An attacker can bypass authentication by forging valid JWTs without knowledge of any secret or private key due to the zero-length key HMAC verification flaw. This compromises the integrity and authenticity of JWTs validated by vulnerable versions of libjwt, potentially allowing unauthorized access or privilege escalation in affected applications. No known exploits have been reported in the wild at this time.
Mitigation Recommendations
This vulnerability is fixed in libjwt version 3.3.3. Since libjwt is used as a cloud-hosted service, the vendor manages remediation server-side. Users should verify with the vendor advisory that their environment is updated to version 3.3.3 or later. Patch status is confirmed by the vendor fix. No additional mitigation actions are required if the environment is updated accordingly.
CVE-2026-44699: CWE-327: Use of a Broken or Risky Cryptographic Algorithm in benmcollins libjwt
Description
CVE-2026-44699 is a critical vulnerability in libjwt versions 3. 0. 0 through 3. 3. 2 where the library accepts an RSA JWK without an alg parameter as a verification key for HS256/HS384/HS512 tokens. This causes HMAC verification to run with a zero-length key in the OpenSSL backend, allowing attackers to forge valid JWTs without knowing any secret or RSA private key. The issue arises from algorithm confusion when applications load RSA keys from JWKS missing the alg parameter and select the verification algorithm from the JWT header. This vulnerability is fixed in libjwt version 3. 3. 3.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
LibJWT, a C library for JSON Web Tokens, versions 3.0.0 to 3.3.2, improperly handles RSA JWKs lacking the alg parameter by using them as verification keys for HMAC-based tokens (HS256/HS384/HS512). In the OpenSSL backend, this leads to HMAC verification with a zero-length key, enabling an attacker to forge valid JWTs without possessing any secret or RSA private key. This is an algorithm confusion vulnerability affecting applications that load RSA keys from JWKS where the alg parameter is omitted (which is valid JWK syntax) and rely on the JWT header to determine the verification algorithm. The vulnerability is addressed in version 3.3.3 of libjwt. The affected product is a cloud service, and the vendor typically manages patching server-side.
Potential Impact
An attacker can bypass authentication by forging valid JWTs without knowledge of any secret or private key due to the zero-length key HMAC verification flaw. This compromises the integrity and authenticity of JWTs validated by vulnerable versions of libjwt, potentially allowing unauthorized access or privilege escalation in affected applications. No known exploits have been reported in the wild at this time.
Mitigation Recommendations
This vulnerability is fixed in libjwt version 3.3.3. Since libjwt is used as a cloud-hosted service, the vendor manages remediation server-side. Users should verify with the vendor advisory that their environment is updated to version 3.3.3 or later. Patch status is confirmed by the vendor fix. No additional mitigation actions are required if the environment is updated accordingly.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-07T17:07:09.316Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
- Is Cloud Service
- true
Threat ID: 6a074b98ec166c07b06a98e5
Added to database: 5/15/2026, 4:36:40 PM
Last enriched: 5/15/2026, 4:51:46 PM
Last updated: 5/15/2026, 6:05:48 PM
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.