> CVE-2026-107724 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-10-08 22:17
MODIFIED
2026-10-08 22:17
CVSS_SCORE V3
7.4
EPSS (Prob. Exploit)
0.22%
Top 88.2%
DATA SOURCES:
NVD đź”— 2026-10-08 FIRST EPSS đź”— 2026-10-19 GITHUB đź”— 2026-10-14 OSV đź”— 2026-10-19

> DESCRIPTION

fast-jwt provides fast JSON Web Token (JWT) implementation. In 6.2.4, fast-jwt can classify raw serialized public JWK or JWKS JSON as an HMAC secret because src/crypto.js performDetectPublicKeyAlgorithms treats non-PEM strings as symmetric key material. If HS256 is explicitly allowed or inferred, an attacker who knows the exact serialized public-key bytes can use those bytes as an HMAC key and create a token containing arbitrary claims that createVerifier accepts. Serialization ordering or whitespace differences can prevent exploitation, and applications using supported PEM keys with an asymmetric-only algorithm allowlist are not affected. This issue is fixed in version 6.3.0.

> 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:H/PR:N/UI:N/S:U/C:H/I:H/A:N
EXPLOITABILITY
2.2
IMPACT
5.2

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:H/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
High (H)
Conditions spécifiques doivent être réunies 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-347

> GITHUB SECURITY ADVISORY

GHSA-g3jj-5cmm-3hxx HIGH

fast-jwt treats raw public JWK JSON as an HMAC secret, enabling HS256 token forgery

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

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

fast-jwt treats raw public JWK JSON as an HMAC secret, enabling HS256 token forgery

AFFECTED PACKAGES:
Unknown / Unknown
1 versions affected
ALIASES:
GHSA-g3jj-5cmm-3hxx

> HISTORIQUE DES MODIFICATIONS

Première apparition
08/10/2026 22:17
Source: NVD
Total des modifications: 0 Dernière mise à jour: 1 week ago

> REFERENCES

https://github.com/nearform/fast-jwt/commit/10f9591349199ed2ab9fa1748ce92cdca697...
https://github.com/nearform/fast-jwt/pull/636
https://github.com/nearform/fast-jwt/releases/tag/v6.3.0
https://github.com/nearform/fast-jwt/security/advisories/GHSA-g3jj-5cmm-3hxx
« BACK_TO_HOME