openEuler Security Advisory
OESA-2026-3117
python-jwt security update
Details
rm -f tests/test_jwks_client.py -m pytest %endif
Security Fix(es):
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.(CVE-2026-32597)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| openEuler:22.03-LTS-SP4 | python-jwt | All versions before 2.3.0-5.oe2203sp4 (fixed in 2.3.0-5.oe2203sp4) |
| openEuler:24.03-LTS-SP1 | python-jwt | All versions before 2.8.0-3.oe2403sp1 (fixed in 2.8.0-3.oe2403sp1) |
| openEuler:24.03-LTS-SP3 | python-jwt | All versions before 2.8.0-3.oe2403sp3 (fixed in 2.8.0-3.oe2403sp3) |
| openEuler:24.03-LTS-SP4 | python-jwt | All versions before 2.8.0-3.oe2403sp4 (fixed in 2.8.0-3.oe2403sp4) |
| openEuler:20.03-LTS-SP4 | python-jwt | All versions before 1.7.1-5.oe2003sp4 (fixed in 1.7.1-5.oe2003sp4) |