CVE-2026-107275
Description
@fastify/jwt is a JSON Web Token plugin for the Fastify web framework. In versions before 10.2.3, a time span passed to expiresIn, notBefore, or maxAge that the plugin's parser cannot read, such as a compound span, a month unit, an ISO 8601 duration, a decimal comma, or a value with surrounding whitespace, is silently dropped instead of refused. On the signing path this produces a token with no expiration claim that never expires, and on the verification path a configured maxAge stops being enforced, so a token that should be rejected for age is accepted. The issue is fixed in @fastify/jwt 10.2.3, and users should upgrade to 10.2.3 or later. As a workaround, pass these options as a number of seconds, or verify that any time-span string parses to a finite value before relying on it.
Weakness
- CWE-390: Detection of Error Condition Without Action
- CWE-613
- CWE-754: Improper Check for Unusual or Exceptional Conditions
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-10-08 |
Timeline
- 2026-10-08Published by the CNA11:05 UTC
- 2026-10-08CISA SSVC decision recordedsame day
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| @fastify/jwt @fastify/jwt | from 0 before 10.2.3fixed in 10.2.3 | 10.2.3 |
References
- https://cna.openjsf.org/security-advisories.html
- https://github.com/fastify/fastify-jwt/security/advisories/GHSA-9x4w-r9p5-5h7m
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-107275'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-107275'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-107275'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-107275'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).