CVE-2026-35039
CRITICAL 9.1CVSS 3.1fast-jwt: Cache Confusion via cacheKeyBuilder Collisions Can Return Claims From a Different Token (Identity/Authorization Mixup)
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 based on the wrong token. Version 6.2.0 contains a patch.
- Published
- 6 Apr 2026
- Last modified
- 23 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-1289CWE-345CWE-706
- Also known as
- GHSA-rp9m-7r4c-75qg
- Sources
- NVDJSONOSV GHSA-rp9m-7r4c-75qgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nearform | fast-jwtcpe:2.3:a:nearform:fast-jwt:*:*:*:*:*:node.js:*:* |
>= 0.1.0, < 6.1.0 | 6.1.0 |
| OSV | npm | fast-jwt | >= 0.0.1, < 6.2.0 | 6.2.0 |
References
- https://github.com/nearform/fast-jwt/commit/de121056c6415b58770c60640881eaec67ac4ceb · Patch, WEB
- https://github.com/nearform/fast-jwt/security/advisories/GHSA-rp9m-7r4c-75qg · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-35039 · ADVISORY
- https://github.com/nearform/fast-jwt · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 6 Apr 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Apr 2026)