---
id: CVE-2026-102267
title: PyJWT is a Python implementation of JSON Web Token standards
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 en…
severity: high
cvss: 7.4
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'
cwe:
  - CWE-200
  - CWE-345
  - CWE-918
vendor: jpadilla
product: pyjwt
affected:
  - pyjwt < 2.14.0
published: '2026-09-28'
updated: '2026-09-28'
sourceUpdated: '2026-09-28T21:17:14.430'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-102267'
references:
  - url: >-
      https://github.com/jpadilla/pyjwt/commit/0a795b8e1f6ef08f634aa7086fc41cc6d5ce3e56
    label: security-advisories@github.com
  - url: 'https://github.com/jpadilla/pyjwt/releases/tag/2.14.0'
    label: security-advisories@github.com
  - url: 'https://github.com/jpadilla/pyjwt/security/advisories/GHSA-9v7f-9g4p-ffgj'
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-28T21:20:54.780Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
