{"api_version":"1","generated_at":"2026-04-07T19:51:47+00:00","cve":"CVE-2026-35042","urls":{"html":"https://cve.report/CVE-2026-35042","api":"https://cve.report/api/cve/CVE-2026-35042.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-35042","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-35042"},"summary":{"title":"fast-jwt accepts unknown `crit` header extensions (RFC 7515 §4.1.11 MUST violation)","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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-04-06 17:17:13","updated_at":"2026-04-07 17:16:29"},"problem_types":["CWE-345","CWE-636","CWE-345 CWE-345: Insufficient Verification of Data Authenticity","CWE-636 CWE-636: Not Failing Securely ('Failing Open')"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"}}],"references":[{"url":"https://www.rfc-editor.org/rfc/rfc7515.html#section-4.1.11","name":"https://www.rfc-editor.org/rfc/rfc7515.html#section-4.1.11","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/nearform/fast-jwt/security/advisories/GHSA-hm7r-c7qw-ghp6","name":"https://github.com/nearform/fast-jwt/security/advisories/GHSA-hm7r-c7qw-ghp6","refsource":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-35042","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35042","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"nearform","product":"fast-jwt","version":"affected <= 6.1.0","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-35042","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-04-07T15:19:36.239438Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-04-07T15:59:49.872Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"references":[{"tags":["exploit"],"url":"https://github.com/nearform/fast-jwt/security/advisories/GHSA-hm7r-c7qw-ghp6"}],"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"product":"fast-jwt","vendor":"nearform","versions":[{"status":"affected","version":"<= 6.1.0"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-345","description":"CWE-345: Insufficient Verification of Data Authenticity","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-636","description":"CWE-636: Not Failing Securely ('Failing Open')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-04-06T17:02:12.180Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/nearform/fast-jwt/security/advisories/GHSA-hm7r-c7qw-ghp6","tags":["x_refsource_CONFIRM"],"url":"https://github.com/nearform/fast-jwt/security/advisories/GHSA-hm7r-c7qw-ghp6"},{"name":"https://www.rfc-editor.org/rfc/rfc7515.html#section-4.1.11","tags":["x_refsource_MISC"],"url":"https://www.rfc-editor.org/rfc/rfc7515.html#section-4.1.11"}],"source":{"advisory":"GHSA-hm7r-c7qw-ghp6","discovery":"UNKNOWN"},"title":"fast-jwt accepts unknown `crit` header extensions (RFC 7515 §4.1.11 MUST violation)"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-35042","datePublished":"2026-04-06T17:02:12.180Z","dateReserved":"2026-03-31T21:06:06.428Z","dateUpdated":"2026-04-07T15:59:49.872Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-04-06 17:17:13","lastModifiedDate":"2026-04-07 17:16:29","problem_types":["CWE-345","CWE-636","CWE-345 CWE-345: Insufficient Verification of Data Authenticity","CWE-636 CWE-636: Not Failing Securely ('Failing Open')"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":3.6}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"35042","Ordinal":"1","Title":"fast-jwt accepts unknown `crit` header extensions (RFC 7515 §4.1","CVE":"CVE-2026-35042","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"35042","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"fast-jwt accepts unknown `crit` header extensions (RFC 7515 §4.1"}]}}}