{
  "id": "CVE-2026-102266",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-102266",
  "published_at": "2026-09-28T20:21:26.164Z",
  "title": "PyJWK accepts empty HMAC keys, bypassing PyJWT's empty-key validation",
  "vendor": "jpadilla",
  "product": "pyjwt",
  "cvss": {
    "score": 9.1,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/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": "PyJWT is a Python implementation of JSON Web Token standards. From 2.13.0 until 2.14.0, HMACAlgorithm.from_jwk is affected because PyJWK verification path used the decoded key without applying prepare_key validation. This occurs when a trusted JWK Set contains an oct entry with an empty k value. As a result, an attacker signs an HMAC token with the same zero-length key accepted by PyJWT. Consequently, forged token can carry arbitrary authenticated claims. This issue is fixed in version 2.14.0.",
  "cwe": "CWE-347",
  "cpes": [
    "cpe:2.3:a:pyjwt_project:pyjwt:2.13.0:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.4,
    "nvd": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "jpadilla",
        "product": "pyjwt",
        "ranges": [
          "\u003e= 2.13.0, \u003c 2.14.0"
        ],
        "fixed_in": [
          "2.14.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade pyjwt to 2.14.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/jpadilla/pyjwt/security/advisories/GHSA-9j54-fg26-wv3r"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/jpadilla/pyjwt/commit/f91ed44dd65baaf457f4b3353ed35e98a753934c"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/jpadilla/pyjwt/releases/tag/2.14.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
