Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-34950
VULNERABILITY

CVE-2026-34950

Common Vulnerabilities and Exposures record

CRITICAL

Summary

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.

Risk

CVSS
9.1
Severity
CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Timeline

Published
Apr 6, 2026 16:16
Modified
Oct 26, 2026 21:10
Last observed
Oct 26, 2026 19:00

CWE

CWE-327

Affected product identifiers

cpe:2.3:a:nearform:fast-jwt:*:*:*:*:*:node.js:*:*

References