Insufficient verification of data authenticity in nearform fast-jwt
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-345.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nearform | fast-jwt | 0.0.1 to before 6.2.0 | 6.2.0 | Patch available | CNA |
| — | fast-jwt (npm) | 0.0.1 to before 6.2.0 | 6.2.0 | Patch available | GHSA-rp9m-7r4c-75qg |
- fast-jwt Vendornearform Affected 0.0.1 to before 6.2.0 Fixed in 6.2.0 Patch available CNA
- fast-jwt (npm) Vendor— Affected 0.0.1 to before 6.2.0 Fixed in 6.2.0 Patch available GHSA-rp9m-7r4c-75qg
Remediation
- Fix · CNA fast-jwt (nearform) Fixed in 6.2.0
- Fix · GHSA-rp9m-7r4c-75qg fast-jwt (npm) Fixed in 6.2.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-35039
- 2026-10-03 Alias added: GHSA-rp9m-7r4c-75qg
References
More nearform Fast-jwt vulnerabilities
- TI-2026-27174 fast-jwt has an incomplete fix for CVE-2023-48223: JWT Algorithm Confusion via Whitespace-Prefixed RSA Public Key CVSS 3.1CRITICAL 9.1
- TI-2026-27245 fast-jwt accepts unknown `crit` header extensions (RFC 7515 §4.1.11 MUST violation) CVSS 3.1HIGH 7.5
- TI-2026-27243 fast-jwt: Stateful RegExp (/g or /y) causes non-deterministic allowed-claim validation (logical DoS) CVSS 3.1MEDIUM 5.3
- TI-2026-27244 ReDoS in fast-jwt when using RegExp in allowed* leading to CPU exhaustion during token verification CVSS 3.1MEDIUM 6.5
- TI-2023-26087 fast-jwt JWT Algorithm Confusion CVSS 3.1MEDIUM 5.9
Sources
- CVE-2026-35039 · CVE Program
- CVE-2026-35039 · NVD
- FIRST EPSS
- GHSA-rp9m-7r4c-75qg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences