Skip to main content
← All vulnerabilities
CVE-2026-102267GHSA-9V7F-9G4P-FFGJPYSEC-2026-4144

PyJWT: PyJWKClient follows redirects when fetching JWKS

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.14.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • jpadilla pyjwt

    fixed in 2.14.0

  • pyjwtPyPI

    fixed in 2.14.0

References 3

GitHub · jpadilla/pyjwt