Ubuntu CVE Tracker
UBUNTU-CVE-2026-101918
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | pyjwt | All versions before 1.3.0-1ubuntu0.1+esm4 (fixed in 1.3.0-1ubuntu0.1+esm4) |
| Ubuntu:Pro:18.04:LTS | pyjwt | All versions before 1.5.3+ds1-1ubuntu0.1+esm4 (fixed in 1.5.3+ds1-1ubuntu0.1+esm4) |
| Ubuntu:Pro:20.04:LTS | pyjwt | All versions before 1.7.1-2ubuntu2.1+esm4 (fixed in 1.7.1-2ubuntu2.1+esm4) |
| Ubuntu:22.04:LTS | pyjwt | All versions before 2.3.0-1ubuntu0.6 (fixed in 2.3.0-1ubuntu0.6) |
| Ubuntu:24.04:LTS | pyjwt | All versions before 2.7.0-1ubuntu0.4 (fixed in 2.7.0-1ubuntu0.4) |
| Ubuntu:26.10 | pyjwt | All versions before 2.13.0-1ubuntu1.1 (fixed in 2.13.0-1ubuntu1.1) |
| Ubuntu:26.04:LTS | pyjwt | All versions before 2.10.1-4ubuntu1.3 (fixed in 2.10.1-4ubuntu1.3) |
References
- https://ubuntu.com/security/CVE-2026-101918
- https://www.cve.org/CVERecord?id=CVE-2026-101918
- https://github.com/jpadilla/pyjwt/security/advisories/GHSA-42vr-xj54-vc7v
- https://github.com/jpadilla/pyjwt/commit/5fde08a6cf906aa7698de2d6391d88b73006b17b
- https://github.com/jpadilla/pyjwt/releases/tag/2.15.0
- https://ubuntu.com/security/notices/USN-8934-1