Ad

CVE-2026-35041

MEDIUM CVSS 3.1: 4.2 EPSS 0.04%
Updated Apr 09, 2026
fast-jwt
Parameter Value
CVSS 4.2 (MEDIUM)
Fixed In 6.2.1
Type CWE-1333 (Inefficient Regular Expression Complexity / ReDoS)
Vendor fast-jwt
Public PoC No

fast-jwt provides fast JSON Web Token (JWT) implementation. From 5.0.0 to 6.2.0, a denial-of-service condition exists in fast-jwt when the allowedAud verification option is configured using a regular expression. Because the aud claim is attacker-controlled and the library evaluates it against the supplied RegExp, a crafted JWT can trigger catastrophic backtracking in the JavaScript regex engine, resulting in significant CPU consumption during verification.

This vulnerability is fixed in 6.2.1.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Privileges Required
High
Admin privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1