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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
PyJWTPyPI | >= 2.0.0a1, < 2.15.0 | 2.15.0 |
Affected products
4- osv-coords2 versions
< 2.15.1-1.1+ 1 more
- (no CPE)range: < 2.15.1-1.1
- (no CPE)range: >= 2.0.0a1, < 2.15.0
Patches
Vulnerability mechanics
References
5- github.com/jpadilla/pyjwt/commit/5fde08a6cf906aa7698de2d6391d88b73006b17bnvdPatchWEB
- github.com/jpadilla/pyjwt/security/advisories/GHSA-42vr-xj54-vc7vnvdExploitMitigationVendor AdvisoryWEB
- github.com/advisories/GHSA-42vr-xj54-vc7vghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-101918ghsaADVISORY
- github.com/jpadilla/pyjwt/releases/tag/2.15.0nvdProductRelease NotesWEB
News mentions
0No linked articles in our index yet.