Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-35040: fast-jwt provides fast JSON Web Token (JWT) implementation

37
This week
MEDIUM 5.3REMOTEUPGRADE

CVE-2026-35040 is a medium-severity flaw (CVSS 5.3) affecting fast-jwt. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 matchin

Why this priority

  • Public exploit reference
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score5.3 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.4% (top 68%)
CISA exploited listNo
WeaknessCWE-440, CWE-697
Published2026-04-09
Last modified2026-10-26
Publisher (CNA): GitHub, Inc. · Vendor: nearform

Share: LinkedIn · X · Reddit

Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

nearform fast-jwt UPGRADE
Affected: < 6.2.1
Fixed in: 6.2.1
Safe to downgrade to: no unaffected older release
1. Check installed version
npm ls fast-jwt
2. UPGRADE to 6.2.1
npm install fast-jwt@">=6.2.1"
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-35040?

fast-jwt: upgrade to 6.2.1. Exact commands for each OS are on this page.

Is CVE-2026-35040 being exploited?

CVE-2026-35040 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-35040 affect?

CVE-2026-35040 affects fast-jwt. Severity is medium (CVSS 5.3). 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 unint

How urgent is CVE-2026-35040?

Priority 37/100. Public exploit reference; Remotely exploitable, no login, no user action

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.