p PatchFirst

CVE-2026-35039

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 9.1 · Critical · EPSS 0.2% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • fast-jwt

    Versions
    • >= 0.0.1, < 6.2.0: Affected

    No fix published

  • fast-jwt npm

    Affected ranges
    • SEMVER: ≥ 0.0.1, < 6.2.0

    Update to 6.2.0

Original sources

Check your server →