Insufficient verification of data authenticity in pyjwt - CVE-2026-32597
Published: April 27, 2026
pyjwt
jpadilla (José Padilla)
Description
The vulnerability allows a remote attacker to bypass security policy enforcement.
The vulnerability exists due to insufficient verification of data authenticity in the PyJWT token header validation logic when processing JWS tokens with unknown critical header extensions. A remote attacker can send a specially crafted token to bypass security policy enforcement.
This can cause split-brain verification in mixed-library deployments, where other RFC-compliant libraries reject the same token.