๐Ÿ” CVE Alert

CVE-2026-48526

HIGH 7.4

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

CVSS Score
7.4
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-287 CWE-347
Vendor jpadilla
Product pyjwt
Published May 28, 2026
Last Updated May 29, 2026
Stay Ahead of the Next One

Get instant alerts for jpadilla pyjwt

Be the first to know when new high vulnerabilities affecting jpadilla pyjwt are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Affected Versions

jpadilla / pyjwt
< 2.13.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/jpadilla/pyjwt/security/advisories/GHSA-xgmm-8j9v-c9wx