Vulnerability

CVE-2026-34950

criticalCVSS 3.1 9.1Published 6 Apr 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Nearform fast-jwt

Weakness type

References

  • github.com /nearform/fast-jwt/security/advisories/GHSA-mvf2-f6gm-w987

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning