PT-2026-25090 · Pypi+3 · Pyjwt+3

Dmbs335

·

Published

2026-01-01

·

Updated

2026-05-18

·

CVE-2026-32597

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:N/I:C/A:N
Name of the Vulnerable Software and Affected Versions PyJWT versions prior to 2.12.0
Description PyJWT is a Python implementation for handling JSON Web Tokens (JWT). Before version 2.12.0, the library did not properly validate the 'crit' (Critical) Header Parameter as defined in RFC 7515 §4.1.11. Specifically, if a JWT contained a 'crit' array listing extensions that PyJWT did not recognize, the library would accept the token instead of rejecting it, violating the 'MUST' requirement outlined in the RFC. This could lead to security policy bypasses, token binding bypasses, and split-brain verification issues in deployments where different libraries are used with varying levels of compliance. The issue allows for the silent ignoring of RFC 7800 cnf (Proof-of-Possession) extensions. A proof of concept demonstrates that a token with an unknown critical extension is accepted by PyJWT, while a compliant library like jwcrypto rejects it.
Recommendations Versions prior to 2.12.0 should be updated to version 2.12.0 or later.

Exploit

Fix

DoS

Insufficient Verification of Data Authenticity

Incorrect Authorization

Weakness Enumeration

Related Identifiers

ALSA-2026:12176
ALSA-2026:13916
BDU:2026-04360
CLEANSTART-2026-AN27706
CVE-2026-32597
ECHO-B1A0-3286-88DA
GHSA-752W-5FWX-JX9F
OPENSUSE-SU-2026:10397-1
OPENSUSE-SU-2026:10681-1
OPENSUSE-SU-2026:20431-1
PYSEC-2026-120
RHSA-2026:13508
RHSA-2026:13512
RHSA-2026:13672
RHSA-2026:13916
RHSA-2026:19138
RHSA-2026:19355
SUSE-SU-2026:1199-1
SUSE-SU-2026:1389-1
SUSE-SU-2026:1400-1
SUSE-SU-2026:20839-1
SUSE-SU-2026:20869-1
SUSE-SU-2026:20879-1
SUSE-SU-2026:20934-1
USN-8133-1

Affected Products

Linuxmint
Pyjwt
Rocky Linux
Ubuntu