Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 88%

CVE-2026-35039: CWE-345: Insufficient Verification of Data Authenticity in nearform fast-jwt

0
Critical
VulnerabilityCVE-2026-35039cvecve-2026-35039cwe-345cwe-706cwe-1289
Published: 04/06/2026 (04/06/2026, 16:59:43 UTC)
Source: CVE Database V5
Vendor/Project: nearform
Product: fast-jwt

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.

CVSS v3.1

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected software

fast-jwt
pkg:npm/fast-jwt
Affected versions
<6.2.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/14/2026, 02:25:48 UTC

Technical Analysis

The vulnerability in nearform's fast-jwt library arises from improper uniqueness in the cacheKeyBuilder method used for caching JWT verification results. When this method does not create unique keys per token, cache collisions occur, causing the verification process to return claims from an incorrect token. This flaw can lead to users being mis-identified as other users, violating data authenticity and integrity. The issue affects all versions from 0.0.1 up to 6.2.0. The vendor fixed the vulnerability in version 6.2.0.

Potential Impact

Exploitation of this vulnerability can result in users being authenticated with claims from other users' tokens, potentially allowing unauthorized access to sensitive information or actions under another user's identity. The CVSS score of 9.1 reflects a critical impact on confidentiality and integrity with no required privileges or user interaction for exploitation.

Mitigation Recommendations

Upgrade fast-jwt to version 6.2.0 or later, which contains the official patch fixing the cache key uniqueness issue. Until upgrading, avoid using custom cacheKeyBuilder implementations that do not guarantee unique keys per token to prevent cache collisions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-31T21:06:06.428Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69d3ea320a160ebd92c9fd8d

Added to database: 04/06/2026, 17:15:30 UTC

Last enriched: 05/14/2026, 02:25:48 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 120

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses