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.
How to fix
- pyjwt_project pyjwt2.12.0 or later
- pyjwt2.12.0 or later
- access.redhat.com/errata/RHSA-2026:13512
- access.redhat.com/errata/RHSA-2026:13508
- access.redhat.com/errata/RHSA-2026:17083
- access.redhat.com/errata/RHSA-2026:13916
- access.redhat.com/errata/RHSA-2026:19138
- access.redhat.com/errata/RHSA-2026:12176
- access.redhat.com/errata/RHSA-2026:22330
- access.redhat.com/errata/RHSA-2026:21517
- access.redhat.com/errata/RHSA-2026:21431
- access.redhat.com/errata/RHSA-2026:13672
- access.redhat.com/errata/RHSA-2026:19355
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pyjwt_project pyjwt | v < 2.12.0 | 2.12.0 |
| pyjwtPyPI | v < 2.12.0 | 2.12.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.