p PatchFirst

CVE-2026-107719

CVE-2026-107719 · fast-jwt: Verifier cache accepts expired JWTs without iat.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 4.2 · Medium · EPSS 0.3% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • fast-jwt

    Versions
    • < 6.3.4: Affected

    No fix published

  • fast-jwt npm

    Affected ranges
    • SEMVER: < 6.3.4

    Update to 6.3.4

Original sources

Check your server →