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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-35041— ReDoS in fast-jwt when using RegExp in allowed* leading to CPU exhaustion during token verification

CVSS 4.2 · Medium EPSS 0.05% · P15
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-35041

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
ReDoS in fast-jwt when using RegExp in allowed* leading to CPU exhaustion during token verification
Source: NVD (National Vulnerability Database)
Vulnerability Description
fast-jwt provides fast JSON Web Token (JWT) implementation. From 5.0.0 to 6.2.0, a denial-of-service condition exists in fast-jwt when the allowedAud verification option is configured using a regular expression. Because the aud claim is attacker-controlled and the library evaluates it against the supplied RegExp, a crafted JWT can trigger catastrophic backtracking in the JavaScript regex engine, resulting in significant CPU consumption during verification. This vulnerability is fixed in 6.2.1.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
CWE-1333
Source: NVD (National Vulnerability Database)
Vulnerability Title
fast-jwt 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
fast-jwt是Nearform开源的一个 JSON Web Token 实现。 fast-jwt 6.2.0及之前版本存在安全漏洞,该漏洞源于allowedAud验证选项使用正则表达式时,攻击者控制的aud声明可能触发灾难性回溯,导致验证期间CPU消耗过高。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
nearformfast-jwt >= 5.0.0, < 6.2.1 -

II. Public POCs for CVE-2026-35041

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-35041

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2026-35041

No comments yet


Leave a comment