Vulnerability Description
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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Nearform | Fast-Jwt | < 6.2.0 |
Related Weaknesses (CWE)
References
- https://github.com/nearform/fast-jwt/security/advisories/GHSA-mvf2-f6gm-w987ExploitVendor Advisory
FAQ
What is CVE-2026-34950?
CVE-2026-34950 is a vulnerability with a CVSS score of 9.1 (CRITICAL). 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 ...
How severe is CVE-2026-34950?
CVE-2026-34950 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-34950?
Check the references section above for vendor advisories and patch information. Affected products include: Nearform Fast-Jwt.