Summary
It was discovered that PyJWT incorrectly accepted non-canonical encodings
of token signature segments. An attacker could possibly use this issue to
bypass token revocation checks.
Fixed packages 3
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · 22.04 LTS 22.04:LTS | pyjwt | 2.3.0-1ubuntu0.7 |
| Ubuntu · 24.04 LTS 24.04:LTS | pyjwt | 2.7.0-1ubuntu0.5 |
| Ubuntu · 26.04 LTS 26.04:LTS | pyjwt | 2.10.1-4ubuntu1.4 |
Vulnerabilities 1
-
Medium 4.8
PyJWT: Non-canonical signature segments enable raw-token revocation bypass
PyJWT is a Python implementation of JSON Web Token standards. Prior to 2.14.0, PyJWT signature segment is affected because signature segment decoding accepts characters outside the canonical Base64URL representation. This occurs when non-Base64URL characters …
References
-
report
https://ubuntu.com/security/CVE-2026-102269