CVE-2026-102269
pyjwt: PyJWT: Token revocation bypass via non-canonical signature decoding
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · September 29, 2026
Updated · October 30, 2026
Description
A flaw was found in PyJWT. When decoding JSON Web Token (JWT) signature segments, the library accepts characters outside the standard Base64URL encoding format. A remote attacker can exploit this issue by appending extra characters to a valid token signature, creating an alternate token representation that decodes to the identical signature. Consequently, this can allow an attacker to bypass raw-token revocation checks or blocklists that rely on exact string matching.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 4.8CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
CWE-1286 · Improper Validation of Syntactic Correctness of Input