CVE-2026-32597Pyjwt Project Pyjwt
High 7.5 No auth needed
Follow: this CVE · Pyjwt Project · Pyjwt Project Pyjwt We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Mar 13, 2026
- Updated
- Sep 10, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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
- Apply the vendor's security update for Pyjwt.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pyjwt |
< 2.12.0 |
2.12.0 |
pip install "pyjwt>=2.12.0" |
| PyPI | pyjwt |
< 2.12.0 |
2.12.0 |
pip install "pyjwt>=2.12.0" |
Per OSV / GitHub Advisories (GHSA-752w-5fwx-jx9f, PYSEC-2026-120). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pyjwt_project | pyjwt | < 2.12.0 |
Official advisories
- Red Hat Security Advisory: python-jwt security update · Red Hat · RHSA-2026:96084 · Nov 13, 2026 High
- Red Hat Security Advisory: python-jwt security update · Red Hat · RHSA-2026:93780 · Nov 13, 2026 High
- Red Hat Security Advisory: python-jwt security update · Red Hat · RHSA-2026:93624 · Nov 13, 2026 High
- python311-social-auth-core-4.8.7-1.1 on GA media · SUSE · openSUSE-SU-2026:10681-1 · May 4, 2026 High
- Security update for python-PyJWT · SUSE · SUSE-SU-2026:1400-1 · Apr 16, 2026 High
- Security update for python-PyJWT · SUSE · SUSE-SU-2026:1389-1 · Apr 16, 2026 High
Also: Red Hat (+13), SUSE (+7)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Mitigation Vendor Advisory
- lists.debian.org
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- bugzilla.redhat.com
- security.access.redhat.com