Skip to main content

Insufficient Session Expiration

CVE-2026-107721

Severity Medium
Score 5.9/10

Summary

fast-jwt provides fast JSON Web Token (JWT) implementation. Prior to 6.3.0, fast-jwt `createVerifier` accepts Infinity for `clockTolerance` because its option validation checks type and negativity but not finiteness. In `validateClaimDateValue`, infinite positive and negative modifiers make exp and nbf comparisons always pass, allowing expired or not-yet-active tokens to be accepted. The verifier cache also derives infinite bounds, so entries created under this configuration can remain valid until eviction. Exploitation requires an application administrator or equivalent configuration path to set `clockTolerance` to Infinity. This issue is fixed in version 6.3.0.

  • HIGH
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • HIGH
  • HIGH
  • NONE

CWE-613 - Insufficient Session Expiration

According to WASC, "Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization."

Advisory Timeline

  • Published