ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2026-32597

Details

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:16.04:LTSpyjwt
All versions before 1.3.0-1ubuntu0.1+esm1 (fixed in 1.3.0-1ubuntu0.1+esm1)
Ubuntu:Pro:18.04:LTSpyjwt
All versions before 1.5.3+ds1-1ubuntu0.1+esm1 (fixed in 1.5.3+ds1-1ubuntu0.1+esm1)
Ubuntu:Pro:20.04:LTSpyjwt
All versions before 1.7.1-2ubuntu2.1+esm1 (fixed in 1.7.1-2ubuntu2.1+esm1)
Ubuntu:22.04:LTSpyjwt
All versions before 2.3.0-1ubuntu0.3 (fixed in 2.3.0-1ubuntu0.3)
Ubuntu:24.04:LTSpyjwt
All versions before 2.7.0-1ubuntu0.1 (fixed in 2.7.0-1ubuntu0.1)
Ubuntu:25.10pyjwt
All versions before 2.10.1-2ubuntu0.1 (fixed in 2.10.1-2ubuntu0.1)

References