Skip to main content
← All vulnerabilities
CVE-2026-107723GHSA-5HJW-83FP-PHQ9

fast-jwt : Silent claim-validator bypass when JWT payload is a JSON array

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.3.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • nearform fast-jwt

    fixed in 6.3.0

  • fast-jwtnpm

    fixed in 6.3.0

References 4

GitHub · nearform/fast-jwt