CVE-2026-107719

Medium

Description

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.

SeverityMedium
CVSS4.2
Exploit probability—
ProductFast-jwt
PublishedOct 8, 2026
First seenOct 8, 2026
Weakness typeCWE-613CWE-613

How to fix

Update
  • fast-jwt6.3.4 or later

Affected products

ProductAffected versionsFixed in
fast-jwtnpmv < 6.3.46.3.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.