{
  "id": "CVE-2026-35042",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-35042",
  "published_at": "2026-04-06T17:02:12.18Z",
  "title": "fast-jwt accepts unknown `crit` header extensions (RFC 7515 §4.1.11 MUST violation)",
  "vendor": "nearform",
  "product": "fast-jwt",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-345",
  "cpes": [
    "cpe:2.3:a:nearform:fast-jwt:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "nearform",
        "product": "fast-jwt",
        "ranges": [
          "\u003c= 6.1.0"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "fast-jwt",
        "ranges": [
          "\u003c= 6.1.0"
        ],
        "fixed_in": null,
        "ecosystem": "npm",
        "advisory": "GHSA-hm7r-c7qw-ghp6"
      }
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/nearform/fast-jwt/security/advisories/GHSA-hm7r-c7qw-ghp6"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
