---
schema_version: '1.0'
id: security-20261008-091805
title: CVE-2026-102275 — pyjwt
url: https://osv.dev/vulnerability/PYSEC-2026-4183
url_hash: 091805ba660e4a1ec3de4872adf5f1e446c9ae8102b4cb45218d0c49eae590e3
canonical_url: https://osv.dev/vulnerability/PYSEC-2026-4183
source: osv:pypa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-102275
- PYSEC-2026-4183
- severity:CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
- pyjwt
- PyPI
lang: en
published_at: '2026-09-28T21:17:15Z'
fetched_at: '2026-10-08T04:28:18.910771Z'
updated_at: '2026-10-08T05:13:21Z'
status: published
content_hash: e1b97f7ecd5837943bf7c0b40b240b5ee4e67d00998562a86847b9591f72c594
content_changed_at: null
license_note: full
summary: PyJWT is a Python implementation of JSON Web Token standards. From 2.1.0
  until 2.15.0, PyJWT OKPAlgorithm.from_jwk in  jwt/algorithms.py is affected because
  private-JWK import path does not compare the public key derived from d with x. This
  occurs when an OKP private JWK supplies
summary_source: rss
summary_en: PyJWT is a Python implementation of JSON Web Token standards. From 2.1.0
  until 2.15.0, PyJWT OKPAlgorithm.from_jwk in  jwt/algorithms.py is affected because
  private-JWK import path does not compare the public key derived from d with x. This
  occurs when an OKP private JWK supplies
summary_omitted_reason: null
redistribution: true
keywords_en:
- cve
- CVE Logistics
- CVE-2026-102275
- library vulnerability
- PyJWT
- PyPI
- PYSEC-2026-4183
- severity:CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
- software security
entities_en:
- name: CVE Logistics
  type: organization
- name: PyJWT
  type: organization
topics_en:
- library vulnerability
- software security
numeric_facts: []
entities:
- name: CVE Logistics
  type: organization
- name: PyJWT
  type: organization
key_facts: []
related: []
related_auto: []
computed_at: '2026-10-08T05:13:20Z'
---

# CVE-2026-102275 — pyjwt

## TL;DR
PyJWT is a Python implementation of JSON Web Token standards. From 2.1.0 until 2.15.0, PyJWT OKPAlgorithm.from_jwk in  jwt/algorithms.py is affected because private-JWK import path does not compare the public key derived from d with x. This occurs when an OKP private JWK supplies

## Key Points
- cve / CVE-2026-102275 / PYSEC-2026-4183 / severity:CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N / pyjwt / PyPI

## Details
**Severity:** CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
**Advisory:** PYSEC-2026-4183 (CVE-2026-102275)

**Details:**
PyJWT is a Python implementation of JSON Web Token standards. From 2.1.0 until 2.15.0, PyJWT OKPAlgorithm.from_jwk in  jwt/algorithms.py is affected because private-JWK import path does not compare the public key derived from d with x. This occurs when an OKP private JWK supplies non-corresponding x and d components. As a result, identity derived from x can differ from operations performed with d. Consequently, if an integration also accepts private key parameters from a proof header without rejecting them, an attacker may use a stolen sender-constrained token without the legitimate private key. This issue is fixed in version 2.15.0.

**References:**
- https://github.com/jpadilla/pyjwt/releases/tag/2.15.0
- https://github.com/jpadilla/pyjwt/commit/3cd9ceec33ced359decbad75b413ad668ae6332c
- https://github.com/jpadilla/pyjwt/security/advisories/GHSA-x33g-cr3x-6449

_Data: OSV.dev (upstream: pypa) — https://osv.dev/vulnerability/PYSEC-2026-4183_

## Source
元記事: [CVE-2026-102275 — pyjwt](https://osv.dev/vulnerability/PYSEC-2026-4183) — published 2026-09-28T21:17:15Z
