# CVE-2026-101918: PyJWT: Unauthenticated RecursionError DoS in pre-verification payload parse (PyJWKClient.get_signing_key_from_jwt / verify_signature=False)

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 31% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-28T20:11:55.278Z
- Modified: 2026-10-07T20:59:17.860Z
- Also known as: GHSA-42vr-xj54-vc7v, PYSEC-2026-4141
- Weaknesses: CWE-248
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- jpadilla pyjwt: >= 2.0.0a1, < 2.15.0
- pyjwt (PyPI): from 2.0.0a1 before 2.15.0
- pyjwt_project pyjwt: from 2.0.0 before 2.15.0

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/jpadilla/pyjwt/security/advisories/GHSA-42vr-xj54-vc7v> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/jpadilla/pyjwt/commit/5fde08a6cf906aa7698de2d6391d88b73006b17b> (patch, web)
- <https://github.com/jpadilla/pyjwt/releases/tag/2.15.0> (product, release-notes, 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)

## Sources

- CVE List: [CVE-2026-101918](https://www.cve.org/CVERecord?id=CVE-2026-101918), CVE Terms of Use, modified 2026-09-29
- GitHub Advisory Database: [GHSA-42vr-xj54-vc7v](https://github.com/advisories/GHSA-42vr-xj54-vc7v), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-101918](https://nvd.nist.gov/vuln/detail/CVE-2026-101918), Public domain, modified 2026-10-07
- PyPA Advisory Database: [PYSEC-2026-4141](https://osv.dev/vulnerability/PYSEC-2026-4141), CC-BY-4.0, modified 2026-10-01

---

Page: https://cve.day/CVE-2026-101918 · Whole record: https://cve.day/CVE-2026-101918.json · Rebuilt by cve.day 2026-11-25T22:59:41.383Z
