CVE-2026-48526
High
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.
SeverityHigh
CVSS7.4
Exploit probability—
ProductPyjwt
PublishedMay 28, 2026
First seenMay 28, 2026
Weakness typeCWE-287Improper authenticationCWE-347CWE-347
How to fix
Update
- pyjwt_project pyjwt2.13.0 or later
- pyjwt2.13.0 or later
Vendor advisories
- access.redhat.com/errata/RHSA-2026:50319
- access.redhat.com/errata/RHSA-2026:50223
- access.redhat.com/errata/RHSA-2026:50336
- access.redhat.com/errata/RHSA-2026:34160
- access.redhat.com/errata/RHSA-2026:50222
- access.redhat.com/errata/RHSA-2026:50263
- access.redhat.com/errata/RHSA-2026:34365
- access.redhat.com/errata/RHSA-2026:35845
- access.redhat.com/errata/RHSA-2026:25902
- access.redhat.com/errata/RHSA-2026:35837
- access.redhat.com/errata/RHSA-2026:35836
- access.redhat.com/errata/RHSA-2026:35835
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pyjwt_project pyjwt | v < 2.13.0 | 2.13.0 |
| pyjwtPyPI | v < 2.13.0 | 2.13.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.