cve.bz

CVE-2026-107275 @fastify/jwt @fastify/jwt: Insufficient Session Expiration

6.8 mediumEPSS 0.3%

Medium (6.8) in @fastify/jwt @fastify/jwt. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
@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.

Severity

CVSS 3.1

6.8 medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 24th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-390 Detection of Error Condition Without Action
CWE-613 Insufficient Session Expiration deprecated by MITRE see CWE-1463, CWE-1464
CWE-754 Improper Check for Unusual or Exceptional Conditions
OWASP Top 10
A07:2025 Authentication Failures, A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-107275 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-107275?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-107275?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-107275 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • @fastify/jwt:@fastify/jwt

Versions

From the CNA's record in the CVE List.

ProductAffected
@fastify/jwtbefore 10.2.3

References

Check your stackJSON