CVE-2026-110024

@fastify/jwt vulnerable to missing token expiration when per-call options drop global defaults

State
Published
Severity
6.8 Medium
Published
Oct 18, 2026
Updated
Oct 20, 2026
Reserved
Oct 13, 2026

Read the record on cve.org

Description

@fastify/jwt is a JWT utility plugin for Fastify. In versions prior to 10.2.5, the top-level sign and verify methods replace the globally configured defaults with the per-call options instead of merging them, so passing any per-call option silently drops every global default that the call does not restate, including temporal protections such as token expiration and maximum accepted token age. A token signed this way carries no expiration claim and never expires, and verification stops enforcing a configured maximum age, so stale or never-expiring tokens are accepted. The route-level decorators for signing and verifying already merge options and are not affected. The issue is fixed in @fastify/jwt 10.2.5, and users should upgrade to 10.2.5 or later.

Scores

CVSSScoreVectorSource
3.16.8 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:Nopenjs

Weaknesses

  • CWE-613 Insufficient Session Expiration

Affected Products

ProductVersions
@fastify/jwt@fastify/jwt
  • before 10.2.5Affected
  • 10.2.5Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.