CVE-2026-35042: fast-jwt provides fast JSON Web Token (JWT) implementation
CVE-2026-35042 is a high-severity flaw (CVSS 7.5) 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. In 6.1.0 and earlier, fast-jwt does not validate the crit (Critical) Header Parameter defined in RFC 7515 §4.1.11. When a JWS token contains a crit array listing extensions that fast-jwt does not understand, the library accepts the token instead of rejecting it. This violates the MUST requirement in the RFC.
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-10-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
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-35042?
fast-jwt: upgrade to 6.2.0. Exact commands for each OS are on this page.
Is CVE-2026-35042 being exploited?
CVE-2026-35042 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-35042 affect?
CVE-2026-35042 affects fast-jwt. Severity is high (CVSS 7.5). fast-jwt provides fast JSON Web Token (JWT) implementation. In 6.1.0 and earlier, fast-jwt does not validate the crit (Critical) Header Parameter defined in RFC 7515 §4.1.11. When a JWS token contains a crit array listing extensions that fa
How urgent is CVE-2026-35042?
Priority 39/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-35039 CRITICAL 9.1 UPGRADE fast-jwt provides fast JSON Web Token (JWT) implementation