Insufficient Session Expiration Affecting fast-jwt package, versions <6.3.4


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.23% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insufficient Session Expiration vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-FASTJWT-20825051
  • published11 Oct 2026
  • disclosed8 Oct 2026
  • creditSomnath Das, Eurico Nicacio, BlueN0r, kagebunsher

Introduced: 8 Oct 2026

NewCVE-2026-107719  (opens in a new tab)
CWE-613  (opens in a new tab)

How to fix?

Upgrade fast-jwt to version 6.3.4 or higher.

Overview

fast-jwt is a Fast JSON Web Token implementation

Affected versions of this package are vulnerable to Insufficient Session Expiration via the verifier cache in src/verifier.js, where the cacheSet function only derived exp and nbf bounds from a token's payload when the iat claim was also present. An attacker can present a token that lacks iat to bypass expiration enforcement: the token is cached until the cacheTTL bound rather than until exp, and the nbf lower bound is also not applied, allowing an expired or not-yet-valid token to be accepted on subsequent cached lookups.

Note: This is only exploitable when the verifier cache is enabled and the presented JWT omits the iat claim.

CVSS Base Scores

version 4.0
version 3.1