← Database

CVE-2026-48526

HIGH CVSS: 7.4 Published: 2026-05-28 Modified: 2026-08-17

Description

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 Platforms

Pyjwt Project Pyjwt

Weakness Type

CWE-287, CWE-347, CWE-347

References