๐Ÿ” CVE Alert

CVE-2026-34950

CRITICAL 9.1

fast-jwt has an incomplete fix for CVE-2023-48223: JWT Algorithm Confusion via Whitespace-Prefixed RSA Public Key

CVSS Score
9.1
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-327
Vendor nearform
Product fast-jwt
Published Apr 6, 2026
Last Updated Apr 6, 2026
Stay Ahead of the Next One

Get instant alerts for nearform fast-jwt

Be the first to know when new critical vulnerabilities affecting nearform fast-jwt are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Affected Versions

nearform / fast-jwt
<= 6.1.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/nearform/fast-jwt/security/advisories/GHSA-mvf2-f6gm-w987