CVE-2026-101918
HIGH 7.5CVSS 3.1PyJWT: Unauthenticated RecursionError DoS in pre-verification payload parse (PyJWKClient.get_signing_key_from_jwt / verify_signature=False)
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.
- Published
- 28 Sep 2026
- Last modified
- 7 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-248
- Also known as
- GHSA-42vr-xj54-vc7vPYSEC-2026-4141
- Sources
- NVDJSONOSV GHSA-42vr-xj54-vc7vJSONOSV PYSEC-2026-4141JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pyjwt_project | pyjwtcpe:2.3:a:pyjwt_project:pyjwt:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.15.0 | 2.15.0 |
| OSV | PyPI | pyjwt | >= 2.0.0a1, < 2.15.0 | 2.15.0 |
References
- https://github.com/jpadilla/pyjwt/commit/5fde08a6cf906aa7698de2d6391d88b73006b17b · Patch, WEB
- https://github.com/jpadilla/pyjwt/releases/tag/2.15.0 · Product, Release Notes, WEB
- https://github.com/jpadilla/pyjwt/security/advisories/GHSA-42vr-xj54-vc7v · Exploit, Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-101918 · ADVISORY
- https://github.com/jpadilla/pyjwt · PACKAGE
- https://pypi.org/project/pyjwt · PACKAGE
- https://github.com/advisories/GHSA-42vr-xj54-vc7v · ADVISORY
History
- 25 Nov 2026 21:21 UTC · NVD: first stored (published 28 Sep 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 30 Sep 2026)