CVE-2026-48526

Summary

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 Software

VendorProductVersion RangeStatus
jpadillapyjwt< 2.13.0affected

Weaknesses

  • CWE-287: CWE-287: Improper Authentication
  • CWE-347: CWE-347: Improper Verification of Cryptographic Signature

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: poc
    • Automatable: no
    • Technical Impact: total

python-pyjwt: PyJWT: Authentication bypass due to forged JSON Web Tokens

Additional References

References