GHSA-cjw9-ghj4-fwxf · Severity: medium · Ecosystem: npm — fast-jwt has a ReDoS when using RegExp in allowed* leading to CPU exhaustion during token verification
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.
Conclusion & alert: CVE-2026-35041 is rated Exploit Available (50/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.03%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-04-10 | — | 0.03% | — |
Full EPSS history (1 record total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 4.2 | 3.1 | MEDIUM |
|
0.5 | 3.6 | [email protected] |
| 6.5 | 3.1 | MEDIUM |
|
2.8 | 3.6 | [email protected] |
GHSA-cjw9-ghj4-fwxf · Severity: medium · Ecosystem: npm — fast-jwt has a ReDoS when using RegExp in allowed* leading to CPU exhaustion during token verification
| URL | Tags |
|---|---|
| https://github.com/nearform/fast-jwt/commit/b0be0ca161593836a153d5180ca5358ad9b5de94 | Patch |
| https://github.com/nearform/fast-jwt/pull/595 | Issue Tracking Patch |
| https://github.com/nearform/fast-jwt/releases/tag/v6.2.1 | Product Release Notes |
| https://github.com/nearform/fast-jwt/security/advisories/GHSA-cjw9-ghj4-fwxf | Exploit Mitigation Vendor Advisory |