Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-107275— @fastify/jwt vulnerable to missing token expiration when temporal options cannot be parsed

Quick assessment

Affected
@fastify/jwt @fastify/jwt
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

@fastify/jwt 是 Fastify Web 框架的一个 JSON Web Token (JWT) 插件。在版本 10.2.3 之前,如果传入 expiresIn、notBefore 或 maxAge 参数的时间跨度格式为该插件解析器无法识别(例如复合时间跨度、以月为单位的时间、ISO 8601 持续时间格式、包含小数逗号或前后带有空格的数值等),插件不会拒绝该值,而是静默地将其丢弃。在签名(生成令牌)过程中,这会导致生成的令牌不包含过期声明,从而永不过期;在验证过程中,则会导致配置的 maxAge 限制失

CVSS 6.8 · Medium EPSS 0.31% · P23

Possible ATT&CK Techniques 1 AI

T1556 · Modify Authentication Process

Affected Version Matrix 2

VendorProduct Version RangeStatus
@fastify/jwt @fastify/jwt < 10.2.3 affected
10.2.3 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-107275

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
@fastify/jwt vulnerable to missing token expiration when temporal options cannot be parsed
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
未有动作错误条件的检测
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
@fastify/jwt @fastify/jwt 0 ~ 10.2.3 -

II. Public POCs for CVE-2026-107275

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-107275

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-107275 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-107275

No comments yet


Leave a comment