How to Fix CVE-2026-35042: fast-jwt (Bundle Sibling)
*By Sai Kiran Pandrala*
Last verified: 2026-05-25
| Severity | CVSS 7.5, High |
|---|---|
| Actively exploited? | No |
| Affected | Nearform fast-jwt (<= 6.1.0) |
| Fixed in | Same patched build as CVE-2026-34950 |
| Type (CWE) | CWE-345: CWE-345: Insufficient Verification of Data Authenticity |
CVE-2026-35042 is a sibling vulnerability in the same Nearform fast-jwt advisory bundle as CVE-2026-34950. The same patched build closes every CVE in the bundle, so the remediation procedure for CVE-2026-35042 matches the primary write-up.
What is different about CVE-2026-35042?
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.
Impact is consistent with the bundle: compromise of the affected component as described in the vendor advisory. The patched build closes every code path in the advisory in one update.
How to fix CVE-2026-35042
Apply the patched build per the primary write-up: How to Fix CVE-2026-34950.
For a quick check, confirm the running version of fast-jwt:
# Confirm the installed version via your package manager
dpkg -l | grep -i fast-jwt # Debian/Ubuntu
rpm -qa | grep -i fast-jwt # RHEL/CentOS/Rocky
Frequently asked questions
Is CVE-2026-35042 being actively exploited?
Not at the time of writing. It is not listed in CISA's Known Exploited Vulnerabilities catalog. That status can change, so monitor the vendor advisory and the KEV catalog if the system is exposed.
How severe is CVE-2026-35042?
CVSS rates it 7.5 (High). Use that score to set your patch priority alongside the other items in your queue.
Do I have to take fast-jwt offline to apply the patch?
It depends on the deployment. High-availability or clustered installs can usually patch one node at a time with no full outage. Standalone installs typically need a short restart. Always follow the vendor's documented upgrade steps.
What if my vulnerability scanner still flags CVE-2026-35042 after I patch?
Re-run the scan after a service restart, then confirm the scanner's plugin set is up to date. Some scanners detect by banner version only and lag the official fix metadata by a release.
References
- Official vendor advisory: https://github.com/nearform/fast-jwt/security/advisories/GHSA-hm7r-c7qw-ghp6
- NVD entry: https://nvd.nist.gov/vuln/detail/CVE-2026-35042
- CISA KEV catalog: https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- Primary write-up: How to Fix CVE-2026-34950
*Written by Sai Kiran Pandrala. Last verified 2026-05-25. Part of the Nearform fast-jwt advisory bundle. Full procedure at how-to-fix-cve-2026-34950.*