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.
Exploitability
AV:NAC:HPR:NUI:NScope
S:UImpact
C:LI:LA:N4.8/CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N