CVE Catalog

CVE-2026-107719

MediumCVSS 4.2
Published: Updated: Translated: NVD NIST

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.

Risk Assessment

An attacker who can replay a cached token may extend access to resources after token expiration, potentially leading to unauthorized access.

Recommendation

Update fast-jwt to version 6.3.4 or later. Additionally, consider disabling caching or ensure tokens with exp also have iat.

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.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.

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