> CVE-2026-44351 [CRITICAL]

« BACK_TO_HOME
PUBLISHED
2026-05-13 20:16
MODIFIED
2026-05-13 20:16
CVSS_SCORE V3
9.1
EPSS (Prob. Exploit)
0.25%
Top 83.6%
DATA SOURCES:
NVD đź”— 2026-05-13 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-11-01 GITHUB đź”— 2026-11-05 OSV đź”— 2026-11-02

> DESCRIPTION

fast-jwt provides fast JSON Web Token (JWT) implementation. Prior to 6.2.4, a critical authentication-bypass vulnerability in fast-jwt's async key-resolver flow allows any unauthenticated attacker to forge arbitrary JWTs that are accepted as authentic. When the application's key resolver returns an empty string (''), for example via the common keys[decoded.header.kid] || '' JWKS-style fallback, fast-jwt converts it to a zero-length Buffer, hands it to crypto.createSecretKey, derives allowedAlgorithms = ['HS256','HS384','HS512'] from it, and then verifies the token's signature against an empty-key HMAC. The attacker simply computes HMAC-SHA256(key='', input='${header}.${payload}'), which Node accepts without complaint — and the verifier returns the attacker-chosen payload (sub, admin, scopes, etc.) as authentic. This vulnerability is fixed in 6.2.4.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EXPLOITABILITY
3.9
IMPACT
5.2

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-287 CWE-326 CWE-1391

> CWE DETAILED DESCRIPTIONS

CWE-287: Improper Authentication - When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. | CWE-326: Inadequate Encryption Strength - The product stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required. | CWE-1391: Use of Weak Credentials - The product uses weak credentials (such as a default key or hard-coded password) that can be calculated, derived, reused, or guessed by an attacker.

> GITHUB SECURITY ADVISORY

GHSA-gmvf-9v4p-v8jc CRITICAL

fast-jwt: JWT auth bypass due to empty HMAC secret accepted by async key resolver

AFFECTED PACKAGES:
NPM / fast-jwt
<= 6.2.3
Fixed in: 6.2.4

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

fast-jwt: Empty HMAC secret accepted via async key resolver - JWT auth bypass

AFFECTED PACKAGES:
Unknown / Unknown
36 versions affected
ALIASES:
GHSA-gmvf-9v4p-v8jc

> HISTORIQUE DES MODIFICATIONS

Première apparition
13/05/2026 20:16
Source: NVD
📊 ENRICHISSEMENT 01/06/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-287: Improper Authentication - When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. | CWE-326: Inadequate Encryption Streng...
Total des modifications: 1 Dernière mise à jour: 5 months ago

> REFERENCES

https://github.com/nearform/fast-jwt/security/advisories/GHSA-gmvf-9v4p-v8jc
« BACK_TO_HOME