Description
PyJWT is a Python implementation of JSON Web Token standards. Prior to 2.14.0, PyJWT PyJWKClient is affected because redirect destinations are not revalidated against the JWKS trust boundary. This occurs when a configured trusted JWKS endpoint returns an attacker-influenced redirect. As a result, PyJWKClient follows the redirect and consumes the redirected response as key material. Consequently, forwarded credentials may be disclosed or verification keys may be substituted. This issue is fixed in version 2.14.0.
Affected products
pyjwt_project: pyjwt
References3
- github.com/jpadilla/pyjwt/security/advisories/GHSA-9v7f-9g4p-ff… PatchVendor Advisory
- github.com/jpadilla/pyjwt/commit/0a795b8e1f6ef08f634aa7086fc41c… Patch
- github.com/jpadilla/pyjwt/releases/tag/2.14.0 ProductRelease Notes
Metrics
- CVSS 3.1
-
9.1
CRITICAL
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - EPSS — exploit probability
- 0% percentile: 5 · as of 9 November 2026
- CWE
- CWE-200CWE-345CWE-918
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.