ELA-1707-1 pyjwt security update

missing input validation

2026-05-05
Packagepyjwt
Version1.4.2-1+deb9u2 (stretch), 1.7.0-2+deb10u1 (buster)
Related CVEs CVE-2026-32597


It was discovered that PyJWT, a Python implementation of JSON Web Token did 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.



For Debian 10 buster, these problems have been fixed in version 1.7.0-2+deb10u1.

For Debian 9 stretch, these problems have been fixed in version 1.4.2-1+deb9u2.

We recommend that you upgrade your pyjwt packages.

Further information about Extended LTS security advisories can be found in the dedicated section of our website.