PoC Monitor
← All CVEs
CVE-2026-34950published 6 Apr 2026 15:54 UTCData: JSON · API

Nearform fast-jwt

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

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.1critical · scored by CNA · CWE-327
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

nearform fast-jwt
  • <= 6.1.0
fast-jwt (npm)
  • < 6.2.0

Fixed in 6.2.0

from GitHub Security Advisory GHSA-mvf2-f6gm-w987

Mitigation

Upgrade fast-jwt to 6.2.0 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published6 Apr 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.