6.8medium
@fastify/jwt vulnerable to missing token expiration when per-call options drop global defaults
- Severity
- 6.8medium CVSS:3.1 by openjs
- Exploit likelihood
- 0.19% (higher than 8% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- openjs
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| @fastify/jwt @fastify/jwt | before 10.2.5 Not affected: 10.2.5 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-110024 changed 2026-10-20 | CVE Terms of Use |
| NVD | CVE-2026-110024 changed 2026-10-20 | Public domain |