CVE Catalog

CVE-2026-107723

HighCVSS 8.1
Published: Updated: Translated: NVD NIST

Summary

fast-jwt is a fast JSON Web Token implementation. Prior to 6.3.0, createVerifier accepts a validly signed JWT whose payload is a JSON array because the decoder does not reject arrays, causing the claim validator loop to silently skip configured checks. An attacker who can produce or influence a validly signed token may bypass expiry, issuer, audience, subject, revocation, and replay protections.

Risk Assessment

Bypassing token claim checks can enable unauthorized access and token reuse, undermining application security mechanisms.

Recommendation

Upgrade fast-jwt to version 6.3.0 and enable the requiredClaims option to enforce presence of key claims.

Other vulnerabilities in fast-jwt

See all
Original NVD description (English source)

fast-jwt provides fast JSON Web Token (JWT) implementation. Prior to 6.3.0, fast-jwt createVerifier accepts a validly signed JWT whose payload is a JSON array because src/decoder.js checks that the payload is an object but does not reject arrays. The claim validator loop then finds no named exp, nbf, iss, aud, sub, jti, or nonce properties and silently skips those configured checks, returning the array as a successfully verified payload. An attacker who can produce or influence a validly signed token may bypass expiry, issuer, audience, subject, revocation, and replay protections. The opt-in requiredClaims option can block missing claims, and signature verification itself is not bypassed. This issue is fixed in version 6.3.0.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS