{
  "schemaVersion": 1,
  "incident": {
    "id": "cve-2026-107722",
    "url": "https://cveboard.org/i/cve-2026-107722",
    "urlPt": "https://cveboard.org/pt/i/cve-2026-107722",
    "json": "https://cveboard.org/i/cve-2026-107722.json",
    "kind": "vuln",
    "live": false,
    "knownExploited": false,
    "severity": "critical",
    "title": "fast-jwt: Incomplete patch of CVE-2026-34950: Non-whitespace key-prefix re-enables RSA→HS256 algorithm confusion",
    "summary": "The fix for CVE-2026-34950 (CVSS 9.1, released in v6.2.0) is incomplete. It adds key.trim() to the PEM-detection path in src/crypto.js, but String.prototype.trim() only strips characters classified as whitespace by the ECMAScript specification. The subsequent ^-anchored regex (/^-----BEGIN(?: (RSA))?",
    "titlePt": "fast-jwt: Patch incompleto para CVE-2026-34950: prefixo de chave não-espacial reativa confusão de algoritmo RSA→HS256",
    "summaryPt": "O patch para CVE-2026-34950 (CVSS 9.1, lançado na v6.2.0) está incompleto. Ele adiciona key.trim() ao caminho de detecção PEM em src/crypto.js, mas String.prototype.trim() só remove caracteres classificados como espaço em branco pela especificação ECMAScript. A expressão regular subsequente ancorada em ^ (/^-----BEGIN(?: (RSA))?",
    "cves": [
      "CVE-2026-107722"
    ],
    "ghsa": "GHSA-ww5h-9m49-7xx4",
    "cvss": {
      "score": 9.8,
      "version": "3.1"
    },
    "epss": {
      "percentage": 0.00272,
      "percentile": 0.18507,
      "asOf": "2026-10-23"
    },
    "packages": [
      {
        "ecosystem": "npm",
        "name": "fast-jwt",
        "vulnerable": ">= 6.2.0, <= 6.2.4",
        "fixed": "6.3.0",
        "advisory": "GHSA-ww5h-9m49-7xx4"
      }
    ],
    "vendor": null,
    "product": null,
    "kev": null,
    "breach": null,
    "retracted": false,
    "sources": [
      {
        "label": "GitHub Advisory Database",
        "url": "https://github.com/advisories/GHSA-ww5h-9m49-7xx4"
      }
    ],
    "publishedAt": "2026-10-08T22:02:07.000Z",
    "updatedAt": "2026-10-08T22:02:07.000Z"
  },
  "live": false,
  "events": [
    {
      "id": "ghsa:GHSA-ww5h-9m49-7xx4:ghsa_published:2026-10-08T22:02:07.000Z",
      "incidentId": "cve-2026-107722",
      "type": "ghsa_published",
      "at": "2026-10-08T22:02:07.000Z",
      "detail": {
        "ghsa": "GHSA-ww5h-9m49-7xx4",
        "severity": "critical",
        "fixed": "6.3.0"
      }
    }
  ]
}