High severity7.5NVD Advisory· Published Mar 13, 2026· Updated May 5, 2026
CVE-2026-32597
CVE-2026-32597
Description
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
PyJWTPyPI | < 2.12.0 | 2.12.0 |
Affected products
2- jpadilla/pyjwtv5Range: < 2.12.0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- github.com/jpadilla/pyjwt/security/advisories/GHSA-752w-5fwx-jx9fnvdExploitMitigationVendor AdvisoryWEB
- github.com/advisories/GHSA-752w-5fwx-jx9fghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-32597ghsaADVISORY
- lists.debian.org/debian-lts-announce/2026/05/msg00008.htmlnvdWEB
News mentions
0No linked articles in our index yet.