CVE-2026-35039
published critical CVSS 3.1 · 9.1fast-jwt Affected by Cache Confusion via cacheKeyBuilder Collisions Can Return Claims From a Different Token (Identity/Authorization Mixup)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nearform | — | fast-jwt>= 0.0.1, < 6.2.0 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nearform | fast-jwt | >= 0.0.1, < 6.2.0 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-345 CWE-345: Insufficient Verification of Data Authenticity
- CWE-706 CWE-706: Use of Incorrectly-Resolved Name or Reference
- CWE-1289 CWE-1289: Improper Validation of Unsafe Equivalence in Input
References
2Provider assertions
2GitHub_M · cna
fast-jwt Affected by Cache Confusion via cacheKeyBuilder Collisions Can Return Claims From a Different Token (Identity/Authorization Mixup)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7ef0fcd16c1adb5ce2d5b752a279fc3eeecb12b76dfd7f47f693ff771bee2ffb
- Ingested
- 23 Sep 2026, 09:11:31 UTC
- Source record
- Official CVE record