PoC Monitor
← All CVEs
CVE-2026-48526published 28 May 2026 15:09 UTCData: JSON · API

PyJWT

PyJWT: Public-key JWK accepted as HMAC secret enables forged HS256 tokens when mixed families are allowed

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.4high · scored by CNA · CWE-287
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

jpadilla pyjwt
  • < 2.13.0

Fixed in 2.13.0

Mitigation

Upgrade pyjwt to 2.13.0 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published28 May 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.