[ CVE-2026-102267 · Published 28 Sep 2026 ]

PyJWT: PyJWKClient follows redirects when fetching JWKS

CVSS 9.1 EPSS <1%2 agency advisoriesFix available

[ Why it matters ]Priority signals

  • Critical severity: CVSS 9.1

[ Description ]Official 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.

[ 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)
  • Patch on github.comVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
  • Patch on github.comVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD

[ Advisories ]Government CERT advisories

[ Packages ]Affected open-source packages