CVE-2026-35042: fast-jwt - Authentication Bypass
- Cve: CVE-2026-35042
- Name: fast-jwt - Authentication Bypass
- 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.
- Impact: Attackers can bypass token validation, potentially allowing unauthorized access or actions.
- Remediation: Update to the latest version that properly validates the crit header parameter.
- Vulnerability type: broken_authentication
- Vulnerability impact: broken_authentication
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Epss score: 0.00161
- Epss percentile: 0.05258
- Assignee: [email protected]
- Published at: 2026-04-06T17:17:13Z
- Age in days: 232
- Modified at: 2026-10-24T13:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-35042
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-345 | Insufficient Verification of Data Authenticity |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/nearform/fast-jwt/security/advisories/GHSA-hm7r-c7qw-ghp6 | nvd | 2026-04-06 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/nearform/fast-jwt/security/advisories/GHSA-hm7r-c7qw-ghp6 | nvd | Exploit, Mitigation, Vendor Advisory |
| https://www.rfc-editor.org/rfc/rfc7515.html#section-4.1.11 | nvd | Technical Description |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| nearform:fast-jwt | < 6.2.0 | no | nvd | /v1/products/nearform/fast-jwt |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| nearform/fast-jwt | package, security_advisory | yes | /v1/repositories/nearform/fast-jwt |
Index
- Repositories: 7
- Repositories high signal: 5
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-04-06
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts