Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. fast-jwt
  4. ›
  5. CVE-2026-35039

CVE-2026-35039: fast-jwt: Cache Confusion via cacheKeyBuilder Collisions Can Return Claims From a Different Token (Identity/Authorization Mixup)

April 3, 2026 (updated April 8, 2026)

NOTE: While the library exposes a mechanism which could introduce the vulnerability, this issue is created by developer-supplied code and not by the library itself. We will add a warning and some education for users around the possible issues however since the defaults work we will not be updating the library beyond that for this advisory.

References

  • github.com/advisories/GHSA-rp9m-7r4c-75qg
  • github.com/nearform/fast-jwt
  • github.com/nearform/fast-jwt/commit/de121056c6415b58770c60640881eaec67ac4ceb
  • github.com/nearform/fast-jwt/security/advisories/GHSA-rp9m-7r4c-75qg
  • nvd.nist.gov/vuln/detail/CVE-2026-35039

Code Behaviors & Features

Detect and mitigate CVE-2026-35039 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.0.1 before 6.2.0

Fixed versions

  • 6.2.0

Solution

Upgrade to version 6.2.0 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-1289: Improper Validation of Unsafe Equivalence in Input
  • CWE-345: Insufficient Verification of Data Authenticity
  • CWE-706: Use of Incorrectly-Resolved Name or Reference

Source file

npm/fast-jwt/CVE-2026-35039.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:28 +0000.