CVE-2026-102265Pyjwt Project Pyjwt
Medium 5.3 No auth needed
Follow: this CVE · Pyjwt Project · Pyjwt Project Pyjwt We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Sep 28, 2026
- Updated
- Oct 7, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-674
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
PyJWT is a Python implementation of JSON Web Token standards. From 2.13.0 until 2.14.0, PyJWS._load in jwt/api_jws.py is affected because parser catches ValueError but not RecursionError. This occurs when a deeply nested token header reaches json.loads. As a result, RecursionError escapes the documented PyJWT error hierarchy. Consequently, an unauthenticated malformed token can cause a request-level failure and HTTP 500. This issue is fixed in version 2.14.0.
What to do
- Apply the vendor's security update for Pyjwt.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pyjwt |
≥ 2.13.0 < 2.14.0 |
2.14.0 |
pip install "pyjwt>=2.14.0" |
| PyPI | pyjwt |
≥ 2.13.0 < 2.14.0 |
2.14.0 |
pip install "pyjwt>=2.14.0" |
Per OSV / GitHub Advisories (GHSA-8wjv-2p76-3863, PYSEC-2026-4142). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pyjwt_project | pyjwt | 2.13.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Product Release Notes
- github.com Exploit Mitigation Vendor Advisory