ADVISORIES

Vulnerability

CVE-2026-32597

PyJWT is a JSON Web Token implementation in Python. Prior to 2.12.0, PyJWT 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 PyJWT does not understand, the library accepts the token instead of rejecting it. This violates the MUST requirement in the RFC. This vulnerability is fixed in 2.12.0.

135 advisories report this vulnerability, across 14 ecosystems.

Advisories in PyPI

  • GHSA-752w-5fwx-jx9f

    PyJWT accepts unknown `crit` header extensions

    High CVE-2026-32597 PyPI Updated 10 September 2026
  • PYSEC-2026-120

    PyJWT is a JSON Web Token implementation in Python. Prior to 2.12.0, PyJWT 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…

    CVE-2026-32597 PyPI Updated 20 May 2026

References