CVE Catalog

CVE-2026-48526

HighCVSS 7.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.40%

32th percentile - higher than 32% of all known CVEs

Summary

PyJWT library in Python prior to 2.13.0 does not validate the use of JSON Web Keys in HMAC algorithm, allowing an attacker to use the issuer's public key as the HMAC secret key.

Risk Assessment

An attacker can impersonate any user or JWT issuer, potentially leading to unauthorized access to systems and data.

Recommendation

Update PyJWT to version 2.13.0 or later.

Other vulnerabilities in PyJWT

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS