CVE-2026-32597
PyJWT is a JSON Web Token implementation in Python. Prior to …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/jpadilla/pyjwt/security/advisories/GHSA-752w-5fwx-jx9f
- nvd.nist.gov/vuln/detail/CVE-2026-32597
- github.com/advisories/GHSA-752w-5fwx-jx9f
- lists.debian.org/debian-lts-announce/2026/05/msg00008.html
- github.com/pypa/advisory-database/tree/main/vulns/pyjwt/PYSEC-2026-120.yaml
- access.redhat.com/errata/RHSA-2026:10140
- access.redhat.com/errata/RHSA-2026:10141
- access.redhat.com/errata/RHSA-2026:10184
- nvd.nist.gov/vuln/detail/CVE-2026-32597
- cve.org/CVERecord?id=CVE-2026-32597
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.