CVE & CISA-KEV Catalog

CVE-2026-35040

MEDIUM
5.3
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
fast-jwtNVD
Affected:< 6.2.1Fixed in:6.2.1CVE-2026-35040derived from NVD

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityLow

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploit Intelligence

0.38%probability of exploitation in 30 days
31stpercentile

Low risk: more likely to be exploited than 31% of all known CVEs.

References

Exploit1
Release Notes1

Related Vulnerabilities

Other CWE-440 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2019-5108Medium6.510%-Fix
CVE-2023-6129Medium6.52.3%-Fix
CVE-2021-41035Critical9.81.7%-Fix
CVE-2018-12550High8.11.4%-Fix
CVE-2019-6569Critical9.11.3%-Fix
CVE-2023-2088Medium6.51.2%-Fix

Common questions

How do I fix CVE-2026-35040?

Upgrade fast-jwt to 6.2.1 or later.

Is CVE-2026-35040 being actively exploited?

Not that we know of. CVE-2026-35040 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.38% is the estimated probability that it will be exploited in the next 30 days. That is higher than 31% of all scored CVEs.

How severe is CVE-2026-35040?

CVE-2026-35040 has a CVSS v3 base score of 5.3, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2026-35040 affect?

Published advisories record a fix for fast-jwt (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2026-35040
CVE-2026-35040 severity badge

Markdown

[![CVE-2026-35040](https://tridentstack.com/cve/badge/CVE-2026-35040.svg)](https://tridentstack.com/cve/CVE-2026-35040)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-35040"><img src="https://tridentstack.com/cve/badge/CVE-2026-35040.svg" alt="CVE-2026-35040"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-17.