CVE-2026-35042
published high CVSS 3.1 · 7.5fast-jwt accepts unknown `crit` header extensions (RFC 7515 §4.1.11 MUST violation)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nearform | — | fast-jwt<= 6.1.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nearform | fast-jwt | <= 6.1.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-345 CWE-345: Insufficient Verification of Data Authenticity
- CWE-636 CWE-636: Not Failing Securely ('Failing Open')
References
2Provider assertions
2GitHub_M · cna
fast-jwt accepts unknown `crit` header extensions (RFC 7515 §4.1.11 MUST violation)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 98ce829d4caa747036aa8768ffbaba8a2d22ff00c29a06b7c5e42ecfbde7b85e
- Ingested
- 23 Sep 2026, 09:11:31 UTC
- Source record
- Official CVE record