[ CVE-2026-102265 · Published 28 Sep 2026 ]
PyJWT: Uncaught RecursionError in jwt.decode() on deeply nested token header
CVSS 5.3
EPSS <1%1 agency advisoryFix available
[ Why it matters ]Priority signals
- Public proof-of-concept exploit exists (CISA SSVC)
[ Description ]Official description
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.
[ Fixes ]Fixes and patches
- pyJWT 2.14.0Fixed version · GitHub Advisories · pip package pyJWT: upgrade to 2.14.0 or later (affected >= 2.13.0, < 2.14.0)
- Patch on github.comVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
[ Advisories ]Government CERT advisories
-
CERT-FRCERTFR-2026-AVI-1249
Multiple vulnerabilities in VMware products Translated from French
Multiple vulnerabilities have been discovered in VMware products. They allow an attacker to cause a security problem not specified by the vendor.
[ Packages ]Affected open-source packages
- pyJWT pipAffected >= 2.13.0, < 2.14.0 · fixed in 2.14.0 · GHSA-8wjv-2p76-3863
[ References ]References
- github.com/jpadilla/pyjwt/commit/06573692ebcdec8831c3927513b3e87c31fbbb62Patch
- github.com/jpadilla/pyjwt/releases/tag/2.14.0ProductRelease Notes
- github.com/jpadilla/pyjwt/security/advisories/GHSA-8wjv-2p76-3863ExploitMitigationVendor Advisory