pyjwt
PyPI10 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting pyjwtpage 1 of 1
- CVE-2017-11424HIGHCVSS 7.5EG 7.5✓ Fixed in 1.5.12017-08-24
vulnerable: 0.1.1 ... 1.5.0 (27 versions)
In PyJWT 1.5.0 and below the `invalid_strings` check in `HMACAlgorithm.prepare_key` does not account for all PEM encoded public keys. Specifically, the PKCS1 PEM encoded format would be allowed because it is prefaced with the string `-----…
- CVE-2022-29217HIGHCVSS 7.4EG 7.4✓ Fixed in 2.4.02022-05-24
vulnerable: 1.5.0 ... 2.3.0 (17 versions)
PyJWT is a Python implementation of RFC 7519. PyJWT supports multiple different JWT signing algorithms. With JWT, an attacker submitting the JWT token can choose the used signing algorithm. The PyJWT library requires that the application c…
- CVE-2024-53861LOWCVSS 2.2EG 2.2✓ Fixed in 2.10.12024-11-29
vulnerable: 2.10.0
pyjwt is a JSON Web Token implementation in Python. An incorrect string comparison is run for `iss` checking, resulting in `"acb"` being accepted for `"_abc_"`. This is a bug introduced in version 2.10.0: checking the "iss" claim changed f…
- CVE-2025-45768HIGHCVSS 7.0EG 7.02025-07-31
vulnerable: 0.1.1 ... 2.9.0 (51 versions)
pyjwt v2.10.1 was discovered to contain weak encryption. NOTE: this is disputed by the Supplier because the key length is chosen by the application that uses the library (admittedly, library users may benefit from a minimum value and a mec…
- CVE-2026-32597HIGHCVSS 7.5EG 7.5✓ Fixed in 2.12.02026-03-13
vulnerable: 0.1.1 ... 2.9.0 (52 versions)
PyJWT is a JSON Web Token implementation in Python. Prior to 2.12.0, PyJWT does not validate the crit (Critical) Header Parameter defined in RFC 7515 §4.1.11. When a JWS token contains a crit array listing extensions that PyJWT does not u…
- CVE-2026-48522MEDIUMCVSS 4.2EG 4.2✓ Fixed in 2.13.02026-05-28
vulnerable: 0.1.1 ... 2.9.0 (54 versions)
PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, PyJWKClient passes its uri argument directly to urllib.request.urlopen() which uses Python stdlib's default OpenerDirector registering HTTPHandler, HTTPSHandler, FTPHandl…
- CVE-2026-48523MEDIUMCVSS 5.4EG 5.4✓ Fixed in 2.12.12026-05-28
vulnerable: 2.10.0, 2.10.1, 2.11.0, 2.12.0, 2.9.0
PyJWT is a JSON Web Token implementation in Python. From 2.9.0 to 2.12.1, there is a verifier-side algorithm allow-list bypass when jwt.decode() or jwt.decode_complete() are called with a PyJWK key. The token header alg is checked against …
- CVE-2026-48524LOWCVSS 3.7EG 3.7✓ Fixed in 2.13.02026-05-28
vulnerable: 0.1.1 ... 2.9.0 (54 versions)
PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, PyJWKClient.get_signing_key() forces a fresh HTTP request to the JWKS endpoint for every JWT with an unknown kid value, with no rate limiting. Since kid comes from the un…
- CVE-2026-48525MEDIUMCVSS 5.3EG 5.3✓ Fixed in 2.13.02026-05-28
vulnerable: 2.10.0 ... 2.9.0 (7 versions)
PyJWT is a JSON Web Token implementation in Python. From 2.8.0 to 2.12.1, when verifying detached JWS tokens using the unencoded-payload option ("b64": false, RFC 7797), PyJWT performs Base64URL decoding of the compact-serialization payloa…
- CVE-2026-48526HIGHCVSS 7.4EG 7.4✓ Fixed in 2.13.02026-05-28
vulnerable: 0.1.1 ... 2.9.0 (54 versions)
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,…
Check whether pyjwt is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for pyjwt CVEs against the assets you own.
Start Free Scan →