Ubuntu CVE Tracker
UBUNTU-CVE-2026-48526
Details
PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, when the verifier is decoding JSON Web Tokens, while supporting both asymmetric and HMAC algorithms, the library does not validate use of JSON Web Keys in HMAC algorithm, allowing attacker to use the issuer public key as the secret key for HMAC algorithm. This vulnerability is fixed in 2.13.0.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | pyjwt | All versions before 1.3.0-1ubuntu0.1+esm2 (fixed in 1.3.0-1ubuntu0.1+esm2) |
| Ubuntu:Pro:18.04:LTS | pyjwt | All versions before 1.5.3+ds1-1ubuntu0.1+esm2 (fixed in 1.5.3+ds1-1ubuntu0.1+esm2) |
| Ubuntu:Pro:20.04:LTS | pyjwt | All versions before 1.7.1-2ubuntu2.1+esm2 (fixed in 1.7.1-2ubuntu2.1+esm2) |
| Ubuntu:22.04:LTS | pyjwt | All versions before 2.3.0-1ubuntu0.4 (fixed in 2.3.0-1ubuntu0.4) |
| Ubuntu:24.04:LTS | pyjwt | All versions before 2.7.0-1ubuntu0.2 (fixed in 2.7.0-1ubuntu0.2) |
| Ubuntu:25.10 | pyjwt | All versions, no fix listed |
| Ubuntu:26.04:LTS | pyjwt | All versions before 2.10.1-4ubuntu1.1 (fixed in 2.10.1-4ubuntu1.1) |