{"id":"CVE-2026-35039","published":"2026-04-06T16:59:43Z","modified":"2026-05-13T15:12:43Z","title":"fast-jwt Affected by Cache Confusion via cacheKeyBuilder Collisions Can Return Claims From a Different Token…","vendor":"nearform","product":"fast-jwt","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00216,"percentile":0.12273,"provenance":"source"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"},{"id":"CWE-706","name":"Use of Incorrectly-Resolved Name or Reference"},{"id":"CWE-1289","name":"Improper Validation of Unsafe Equivalence in Input"}],"references":[{"url":"https://github.com/nearform/fast-jwt/security/advisories/GHSA-rp9m-7r4c-75qg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nearform/fast-jwt/commit/de121056c6415b58770c60640881eaec67ac4ceb","tags":["x_refsource_MISC"]}],"priority":{"score":8.8,"factors":[{"name":"EPSS percentile","points":2.45},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"nearform","affectedVersions":[{"vendor":"nearform","product":"fast-jwt","versions":[">= 0.0.1, < 6.2.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-04-07T14:25:32.378641Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"fast-jwt","vulnerableRanges":[">=0.0.1, <6.2.0"],"patched":["6.2.0"],"from":["GHSA-rp9m-7r4c-75qg"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-19380","exploited":false,"provenance":"source"}}