CVE-2026-34950

CRITICAL CVSS 3.1: 9.1 EPSS 0.25%
Updated Oct 27, 2026
Nearform
Parameter Value
CVSS 9.1 (CRITICAL)
Affected Versions before 6.2.0
Fixed In 6.2.0
Type CWE-327 (Weak Crypto Algorithm)
Vendor Nearform
Public PoC No

fast-jwt provides fast JSON Web Token (JWT) implementation. In 6.1.0 and earlier, the publicKeyPemMatcher regex in fast-jwt/src/crypto.js uses a ^ anchor that is defeated by any leading whitespace in the key string, re-enabling the exact same JWT algorithm confusion attack that CVE-2023-48223 patched.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
None
No disruption

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:*:*
— 6.2.0