CyberIntel ⬡ News
★ Saved ◆ Cyber Reads
← Back ⬡ Vulnerabilities & CVEs Apr 09, 2026

CVE-2026-35040 | nearform fast-jwt up to 6.2.0 verify comparison

VulDB Archived Apr 09, 2026 ✓ Full text saved

A vulnerability marked as problematic has been reported in nearform fast-jwt up to 6.2.0 . Affected by this issue is the function verify . Performing a manipulation of the argument allowedAud/allowedIss/allowedSub/allowedJti/allowedNonce results in incorrect comparison. This vulnerability is reported as CVE-2026-35040 . The attack is possible to be carried out remotely. No exploit exists. It is suggested to upgrade the affected component.

Full text archived locally
✦ AI Summary · Claude Sonnet


    VDB-356578 · CVE-2026-35040 · GCVE-0-2026-35040 NEARFORM FAST-JWT UP TO 6.2.0 VERIFY COMPARISON HISTORYDIFFRELATEJSONXMLCTI CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score 4.7 $0-$5k 0.00+ Summaryinfo A vulnerability described as problematic has been identified in nearform fast-jwt up to 6.2.0. This affects the function verify. Executing a manipulation of the argument allowedAud/allowedIss/allowedSub/allowedJti/allowedNonce can lead to comparison. This vulnerability appears as CVE-2026-35040. The attack may be performed from remote. There is no available exploit. Upgrading the affected component is recommended. Detailsinfo A vulnerability was found in nearform fast-jwt up to 6.2.0. It has been declared as problematic. This vulnerability affects the function verify. The manipulation of the argument allowedAud/allowedIss/allowedSub/allowedJti/allowedNonce with an unknown input leads to a comparison vulnerability. The CWE definition for the vulnerability is CWE-697. The product compares two entities in a security-relevant context, but the comparison is incorrect, which may lead to resultant weaknesses. As an impact it is known to affect availability. CVE summarizes: fast-jwt provides fast JSON Web Token (JWT) implementation. Prior to 6.2.1, using certain modifiers on RegExp objects in the allowedAud, allowedIss, allowedSub, allowedJti, or allowedNonce options in verify functions can cause certain unintended behaviours. This is because some modifiers are stateful and will cause failures in every second verification attempt regardless of the validity of the token provided. Such modifiers are /g (global matching) and /y (sticky matching). This does NOT allow invalid tokens to be accepted, only for valid tokens to be improperly rejected in some configurations. Instead it causes 50% of valid authentication requests to fail in an alternating pattern. This vulnerability is fixed in 6.2.1. The advisory is available at github.com. This vulnerability was named CVE-2026-35040 since 03/31/2026. The exploitation appears to be easy. The attack can be initiated remotely. Technical details are known, but there is no available exploit. Upgrading to version 6.2.1 eliminates this vulnerability. Productinfo Vendor nearform Name fast-jwt Version 6.0 6.1 6.2.0 Website Product: https://github.com/nearform/fast-jwt/ CPE 2.3info 🔒 🔒 🔒 CPE 2.2info 🔒 🔒 🔒 CVSSv4info VulDB Vector: 🔒 VulDB Reliability: 🔍 CVSSv3info VulDB Meta Base Score: 4.8 VulDB Meta Temp Score: 4.7 VulDB Base Score: 4.3 VulDB Temp Score: 4.1 VulDB Vector: 🔒 VulDB Reliability: 🔍 CNA Base Score: 5.3 CNA Vector (GitHub_M): 🔒 CVSSv2info Vector Complexity Authentication Confidentiality Integrity Availability Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock VulDB Base Score: 🔒 VulDB Temp Score: 🔒 VulDB Reliability: 🔍 Exploitinginfo Class: Comparison CWE: CWE-697 CAPEC: 🔒 ATT&CK: 🔒 Physical: No Local: No Remote: Yes Availability: 🔒 Status: Not defined Price Prediction: 🔍 Current Price Estimation: 🔒 0-Day Unlock Unlock Unlock Unlock Today Unlock Unlock Unlock Unlock Threat Intelligenceinfo Interest: 🔍 Active Actors: 🔍 Active APT Groups: 🔍 Countermeasuresinfo Recommended: Upgrade Status: 🔍 0-Day Time: 🔒 Upgrade: fast-jwt 6.2.1 Timelineinfo 03/31/2026 CVE reserved 04/09/2026 +9 days Advisory disclosed 04/09/2026 +0 days VulDB entry created 04/09/2026 +0 days VulDB entry last update Sourcesinfo Product: github.com Advisory: github.com Status: Confirmed CVE: CVE-2026-35040 (🔒) GCVE (CVE): GCVE-0-2026-35040 GCVE (VulDB): GCVE-100-356578 Entryinfo Created: 04/09/2026 17:32 Changes: 04/09/2026 17:32 (64) Complete: 🔍 Cache ID: 99:FDB:101 Discussion No comments yet. Languages: en. Please log in to comment. ◂ PreviousOverviewNext ▸
    💬 Team Notes
    Article Info
    Source
    VulDB
    Category
    ⬡ Vulnerabilities & CVEs
    Published
    Apr 09, 2026
    Archived
    Apr 09, 2026
    Full Text
    ✓ Saved locally
    Open Original ↗