CVE-2026-32597
PyJWT accepts unknown `crit` header extensions (RFC 7515 §4.1.11 MUST violation)
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.
INFO
Published Date :
March 13, 2026, 7:55 p.m.
Last Modified :
March 19, 2026, 1:30 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | MITRE-CVE | ||||
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update PyJWT to version 2.12.0 or later.
- Ensure library dependencies are up to date.
Public PoC/Exploit Available at Github
CVE-2026-32597 has a 4 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-32597.
| URL | Resource |
|---|---|
| https://github.com/jpadilla/pyjwt/security/advisories/GHSA-752w-5fwx-jx9f | Exploit Mitigation Vendor Advisory |
| https://github.com/jpadilla/pyjwt/security/advisories/GHSA-752w-5fwx-jx9f | Exploit Mitigation Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-32597 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-32597
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
MVidarr - The Music Video Management System
HTML Python Shell JavaScript CSS TypeScript Batchfile Dockerfile Mako Go Template
Official website for Emelmujiro — AI education & consulting for enterprises
cloudflare-tunnel docker jwt nginx sqlite django react tailwindcss typescript vite
JavaScript Makefile Shell Dockerfile Python HTML CSS TypeScript
All Public RunWhen Helm Charts - Managed by terraform
Shell Dockerfile Go Template
Projectify, a free project management software
Python HTML Shell Nix JavaScript CSS Procfile
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-32597 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-32597 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Mar. 19, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:pyjwt_project:pyjwt:*:*:*:*:*:*:*:* versions up to (excluding) 2.12.0 Added Reference Type CISA-ADP: https://github.com/jpadilla/pyjwt/security/advisories/GHSA-752w-5fwx-jx9f Types: Exploit, Mitigation, Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/jpadilla/pyjwt/security/advisories/GHSA-752w-5fwx-jx9f Types: Exploit, Mitigation, Vendor Advisory -
New CVE Received by [email protected]
Mar. 13, 2026
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Added CWE CWE-345 Added CWE CWE-863 Added Reference https://github.com/jpadilla/pyjwt/security/advisories/GHSA-752w-5fwx-jx9f -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Mar. 13, 2026
Action Type Old Value New Value Added Reference https://github.com/jpadilla/pyjwt/security/advisories/GHSA-752w-5fwx-jx9f