CVE-2026-35042

fast-jwt accepts unknown `crit` header extensions (RFC 7515 §4.1.11 MUST violation)

HIGH
7.5
CVSS Score
Published: April 6, 2026 at 05:02 PM UTC
Updated: October 24, 2026 at 01:10 PM UTC
1 product affected across 1 vendorFast Jwt

Using fast-jwt by nearform?

Get instant alerts when new vulnerabilities affect fast-jwt - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.2%
SSVC
PoC

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (2)

x_refsource_CONFIRMExploitMitigationVendor Advisory
Source: cverecord
https://github.com/nearform/fast-jwt/security/advisories/GHSA-hm7r-c7qw-ghp6
x_refsource_MISCTechnical Description
Source: cverecord
https://www.rfc-editor.org/rfc/rfc7515.html#section-4.1.11

SSVC — Action Prioritization

SSVCPoCAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-345CWE-636

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card