🔐 CVE Alert

CVE-2026-35042

HIGH 7.5

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

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
3th

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.

CWE CWE-345 CWE-636
Vendor nearform
Product fast-jwt
Published Apr 6, 2026
Last Updated Apr 7, 2026
Stay Ahead of the Next One

Get instant alerts for nearform fast-jwt

Be the first to know when new high vulnerabilities affecting nearform fast-jwt are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Affected Versions

nearform / fast-jwt
<= 6.1.0

References

NVD ↗ CVE.org ↗ EPSS Data ↗
github.com: https://github.com/nearform/fast-jwt/security/advisories/GHSA-hm7r-c7qw-ghp6 rfc-editor.org: https://www.rfc-editor.org/rfc/rfc7515.html#section-4.1.11