CVE-2026-101918
Description
PyJWT is a Python implementation of JSON Web Token standards. From 2.0.0a1 until 2.15.0, PyJWT PyJWKClient.get_signing_key_from_jwt is affected because payload parser catches ValueError but not RecursionError. This occurs when an attacker-controlled recursively nested payload reaches json.loads. As a result, documented PyJWT exception handling does not contain the failure. Consequently, an unauthenticated request can raise an exception that may produce an HTTP 500 response. The advisory-defined affected implementation also includes jwt/api_jwt.py, verify_signature=False. This issue is fixed in version 2.15.0.
Weakness
- CWE-248: Uncaught Exception
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2026-09-29 |
Timeline
- 2026-09-28Published by the CNA20:11 UTC
- 2026-09-29CISA SSVC decision recorded1 day after publication
- 2026-09-30GitHub advisory published (GHSA-42vr-xj54-vc7v)2 days after publication
Exploit and advisory records
GitHub advisory GHSA-42vr-xj54-vc7v, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI pyjwt | from 2.0.0a1 before 2.15.0 | 2.15.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| pyjwt_project pyjwt | from 2.0.0 before 2.15.0fixed in 2.15.0 | 2.15.0 |
References
- https://github.com/jpadilla/pyjwt/commit/5fde08a6cf906aa7698de2d6391d88b73006b17b
- https://github.com/jpadilla/pyjwt/security/advisories/GHSA-42vr-xj54-vc7v
- https://github.com/jpadilla/pyjwt/releases/tag/2.15.0
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-101918'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-101918'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-101918'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-101918'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).