{"id":"CVE-2026-35042","published":"2026-04-06T17:02:12Z","modified":"2026-04-07T15:59:49Z","title":"fast-jwt accepts unknown `crit` header extensions (RFC 7515 §4.1.11 MUST violation)","vendor":"nearform","product":"fast-jwt","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00212,"percentile":0.06524,"provenance":"source"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"},{"id":"CWE-636","name":"Not Failing Securely"}],"references":[{"url":"https://github.com/nearform/fast-jwt/security/advisories/GHSA-hm7r-c7qw-ghp6","tags":["x_refsource_CONFIRM"]},{"url":"https://www.rfc-editor.org/rfc/rfc7515.html#section-4.1.11","tags":["x_refsource_MISC"]}],"priority":{"score":6.6,"factors":[{"name":"EPSS percentile","points":1.3},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"nearform","affectedVersions":[{"vendor":"nearform","product":"fast-jwt","versions":["<= 6.1.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-07T15:19:36.239438Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"fast-jwt","vulnerableRanges":["<=6.1.0"],"patched":[],"from":["GHSA-hm7r-c7qw-ghp6"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-19382","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-authlib-cve-2025-59420","parents":[{"from":"CVE-2025-59420","to":"CVE-2026-35042","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-hm7r-c7qw-ghp6","via":"reference","url":"https://github.com/advisories/GHSA-9ggr-2464-2j32"}]}]}}