{"id":"CVE-2026-101918","published":"2026-09-28T20:11:55Z","modified":"2026-09-29T13:57:29Z","title":"PyJWT: Unauthenticated RecursionError DoS in pre-verification payload parse (PyJWKClient.get_signing_key_from_jwt /…","vendor":"jpadilla","product":"pyjwt","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00644,"percentile":0.4543,"provenance":"source"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"}],"references":[{"url":"https://github.com/jpadilla/pyjwt/security/advisories/GHSA-42vr-xj54-vc7v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jpadilla/pyjwt/commit/5fde08a6cf906aa7698de2d6391d88b73006b17b","tags":["x_refsource_MISC"]},{"url":"https://github.com/jpadilla/pyjwt/releases/tag/2.15.0","tags":["x_refsource_MISC"]}],"priority":{"score":12.8,"factors":[{"name":"EPSS percentile","points":9.09},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"jpadilla","affectedVersions":[{"vendor":"jpadilla","product":"pyjwt","versions":[">= 2.0.0a1, < 2.15.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-29T13:55:59.459735Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"PyJWT","vulnerableRanges":[">=2.0.0a1, <2.15.0"],"patched":["2.15.0"],"from":["GHSA-42vr-xj54-vc7v","PYSEC-2026-4141"],"provenance":"source"}],"summary":{"text":"The flaw is in PyJWT, a Python implementation of JSON Web Token standards, specifically in the payload parsing performed by PyJWKClient.get_signing_key_from_jwt, where the code catches ValueError but not RecursionError. An attacker can send an unauthenticated request containing a deeply nested, recursive JWT payload over the network, with no user interaction or configuration beyond the affected code path, causing an uncaught RecursionError that can produce an HTTP 500 response and denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:22Z"},"euvd":{"id":"EUVD-2026-88479","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-jpadilla-pyjwt-cve-2024-53861","parents":[{"from":"CVE-2024-53861","to":"CVE-2026-101918","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["jwt/api_jwt.py"],"commits":["https://github.com/jpadilla/pyjwt/commit/1570e708672aa9036bc772476beae8bfa48f4131","https://github.com/jpadilla/pyjwt/commit/33022c25525c1020869c71ce2a4109e44ae4ced1","https://github.com/jpadilla/pyjwt/commit/5fde08a6cf906aa7698de2d6391d88b73006b17b"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2026-101918","to":"CVE-2026-103001","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["jwt/api_jwt.py"],"commits":["https://github.com/jpadilla/pyjwt/commit/5fde08a6cf906aa7698de2d6391d88b73006b17b","https://github.com/jpadilla/pyjwt/commit/0c87c8c8b1a74cac99ad8115f3050efcb7fbed35"],"basis":"rarely changed file"}]}]}}