CVE-2026-35039: Vulnerability in Nearform Fast-jwt

Critical. fast-jwt provides fast JSON Web Token (JWT) implementation. From 0.0.1 to before 6.2.0, setting up a custom cacheKeyBuilder method which does not properly create unique keys for different tokens can lead to cache collisions. This could cause tokens to be mis-identified during the verification process leading to valid tokens returning claims from different valid tokens and users being mis-identified as other users...

npm, CWE-345, CWE-706

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
0.2 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-rp9m-7r4c-75qg
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-345, CWE-706, CWE-1289
Published
3 Apr 2026
Last change
23 Oct 2026
Likelihood rank
Higher than 15 % of all rated vulnerabilities
Analysis status
Analyzed
Ecosystem
npm

Affected products

Affected versions and the first fixed release

  • Nearform Fast-jwt From 0.1.0 before 6.1.0. Fixed in 6.1.0

Affected packages

Vulnerable version ranges and fixed releases

  • fast-jwt npm, Affected from 0.0.1 before 6.2.0. Fixed in 6.2.0

Patches and fixes

Updates, commits and release notes

Related