CVE-2026-35041

MEDIUM CVSS 3.1: 6.5 EPSS 0.27%
Updated Oct 27, 2026
Nearform
Parameter Value
CVSS 6.5 (MEDIUM)
Affected Versions 5.0.0 — 6.2.1
Fixed In 6.2.1
Type CWE-1333 (Inefficient Regular Expression Complexity / ReDoS)
Vendor Nearform
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
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

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

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Nearform Fast-Jwt
cpe:2.3:a:nearform:fast-jwt:*:*:*:*:*:node.js:*:*
5.0.0 6.2.1