Vulnerability · Published Sep 28, 2026 · Assigned by GitHub_M
CVE-2026-102269PyJWT: Non-canonical signature segments enable raw-token revocation bypass
Medium 4.8
In plain English
A medium-severity security flaw in pyjwt from jpadilla. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 13% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 are appended to a valid compact JWS signature segment. As a result, base64url_decode produces the same signature bytes for different serialized segments. Consequently, raw-token revocation checks can fail to recognize an equivalent modified token. This issue is fixed in version 2.14.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | pyjwt | no fix listed | DEBIAN-CVE-2026-102269 |
| Debian:13 | pyjwt | no fix listed | DEBIAN-CVE-2026-102269 |
| Debian:14 | pyjwt | 2.14.0-1 | DEBIAN-CVE-2026-102269 |
| PyPI | pyjwt | 2.14.0 | GHSA-hxm8-2xgr-2p9m |
| PyPI | pyjwt | 2.14.0 | PYSEC-2026-4147 |
| Ubuntu:22.04:LTS | pyjwt | no fix listed | UBUNTU-CVE-2026-102269 |
| Ubuntu:24.04:LTS | pyjwt | no fix listed | UBUNTU-CVE-2026-102269 |
| Ubuntu:26.04:LTS | pyjwt | no fix listed | UBUNTU-CVE-2026-102269 |
| Ubuntu:26.10 | pyjwt | no fix listed | UBUNTU-CVE-2026-102269 |
Affected products (as reported)
Weakness: CWE-180 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
References
- https://github.com/jpadilla/pyjwt/security/advisories/GHSA-hxm8-2xgr-2p9m x_refsource_CONFIRM
- https://github.com/jpadilla/pyjwt/commit/e6f48401001609a8f99e71fcaf355fb895d508a8 x_refsource_MISC
- https://github.com/jpadilla/pyjwt/releases/tag/2.14.0 x_refsource_MISC