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…

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: Mon Apr 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.1.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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/06/2026, 17:30:46 UTC

Technical Analysis

The fast-jwt library, used for JSON Web Token implementation, is vulnerable in versions >= 0.0.1 and < 6.1.0 due to improper uniqueness in the cacheKeyBuilder method. When this method does not create unique keys for different tokens, cache collisions occur, causing the verification process to associate a token with claims from a different valid token. This flaw results in incorrect user identification and violates token authenticity verification, corresponding to CWE-345 and related weaknesses.

Potential Impact

Exploitation of this vulnerability can cause a valid JWT to be mis-associated with claims from another token, leading to users being mis-identified as other users. This compromises confidentiality and integrity of authentication and authorization processes, potentially allowing unauthorized access to user data or actions under another user's identity. The CVSS score of 9.1 indicates a critical impact on confidentiality and integrity without requiring privileges or user interaction.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid using custom cacheKeyBuilder implementations that do not guarantee unique keys per token. Review and update token verification logic to ensure uniqueness and correctness of cache keys to prevent 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: 4/6/2026, 5:15:30 PM

Last enriched: 4/6/2026, 5:30:46 PM

Last updated: 4/7/2026, 5:44:00 AM

Views: 11

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