CRITICAL🇵🇱 Wersja polska

CVE-2026-35039

CVSS 9.1v3.1pub. 2026-04-06upd. 2026-04-22

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.

🤖 AI Analysis
How it works

The vulnerability occurs when an application configures its own cacheKeyBuilder method that does not generate unique keys for different JWT tokens. In such a case, two different tokens may be assigned to the same cache key, causing a collision. During the verification process, one user's token may return claims belonging to another user. As a result, the verification mechanism treats tokens as interchangeable, violating authentication integrity.

Impact

An attacker or unauthorized user may be incorrectly identified as a different user, gaining access to their data and permissions. The vulnerability threatens data confidentiality and integrity, but does not directly affect system availability.

Mitigation & patch

The fast-jwt library should be updated to version 6.2.0 or later, which contains a patch eliminating the vulnerability. Additionally, it is recommended to review custom cacheKeyBuilder implementations for generating unique keys for each token.

Who is affected

Nearform fast-jwt in versions from 0.0.1 to before 6.2.0, when an application uses a custom cacheKeyBuilder method.

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Nearform Fast Jwt

    APP
    Nearform
    0.1.0 – 6.1.0 (excl.)
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
CWE
References

Related vulnerabilities

CVE-2026-34950CRITICAL9.1PL ✓same product

Nearform Fast-Jwt: podatność na atak JWT algorithm confusion (bypass patcha CVE-2023-48223)

CVE-2026-35042HIGH7.5same product

fast-jwt provides fast JSON Web Token (JWT) implementation. In 6.1.0 and earlier, fast-jwt does not validate t...

CVE-2026-35040MEDIUM5.3same product

fast-jwt dostarcza szybką implementację JSON Web Token (JWT). Przed wersją 6.2.1 użycie określonych modyfikato...

CVE-2026-35041MEDIUM4.2same product

fast-jwt to biblioteka zapewniająca szybką implementację JSON Web Token (JWT). W wersjach od 5.0.0 do 6.2.0 is...

CVE-2023-48223MEDIUM5.9same product

fast-jwt provides fast JSON Web Token (JWT) implementation. Prior to version 3.3.2, the fast-jwt library does ...