CVE-2026-35041
1 advisory.
npm/fast-jwt CVE-2026-35041: medium 4.2, EPSS 0.43%
fast-jwt has a ReDoS when using RegExp in allowed* leading to CPU exhaustion during token verification
Action: Upgrade fast-jwt to 6.2.1 or later.
npm i fast-jwt@6.2.1Affected
| introduced | fixed | last affected |
|---|---|---|
| 5.0.0 | 6.2.1 | - |
Fixed versions
| 6.2.1 |
Sources
- osv: GHSA-cjw9-ghj4-fwxf
- https://github.com/nearform/fast-jwt/security/advisories/GHSA-cjw9-ghj4-fwxf
- https://nvd.nist.gov/vuln/detail/CVE-2026-35041
- https://github.com/nearform/fast-jwt/pull/595
- https://github.com/nearform/fast-jwt/commit/b0be0ca161593836a153d5180ca5358ad9b5de94
- https://github.com/nearform/fast-jwt
- https://github.com/nearform/fast-jwt/releases/tag/v6.2.1
CVE-2026-35041 · published · modified · JSON