CVE-2026-32597

High

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.

SeverityHigh
CVSS7.5
Exploit probability21. percentile0.3%
ProductPyjwt
PublishedMar 13, 2026
First seenMar 13, 2026

How to fix

Affected products

ProductAffected versionsFixed in
pyjwt_project pyjwtv < 2.12.02.12.0
pyjwtPyPIv < 2.12.02.12.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.