Skip to main content
← All vulnerabilities
CVE-2026-107719GHSA-X937-HJ6V-793P

fast-jwt: Verifier cache accepts expired JWTs without iat.

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

Summary

fast-jwt provides fast JSON Web Token (JWT) implementation. Prior to 6.3.4, the fast-jwt createVerifier cache can continue accepting a previously valid, signed JWT after its exp time when caching is enabled and the token has exp but no iat. In src/verifier.js, cacheSet derives the exp cache deadline only when iat is present, so the cache falls back to cacheTTL, and a later cache hit returns the saved payload before verifyToken rechecks expiration. An attacker who can replay the same cached bearer token can extend access until the cache entry expires, but cannot forge a token through this issue. This issue is fixed in version 6.3.4.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • nearform fast-jwt

    fixed in 6.3.4

  • fast-jwtnpm

    fixed in 6.3.4

References 3

GitHub · nearform/fast-jwt