Back to CVE records
Medium 6.5Published Sep 28, 2026

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

Updated under an hour ago ()

Does this affect you?

It affects jpadilla pyjwt and 1 other product. Add what you run to find out whether that includes you.

EPSS puts the chance of exploitation in the next 30 days at 0.14%, higher than 3% of scored CVEs.

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.

CVSS
6.5 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
Weakness (CWE)
CWE-345, CWE-348
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
0.14% (percentile 3)
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Sep 29, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
jpadilla pyjwt
jpadilla:pyjwt (from the name)
from 2.1.0, < 2.15.0
CNA record
pyjwt_project pyjwt
pyjwt_project:pyjwt
from 2.1.0 before 2.15.0
NVD

References

  • x-refsource-confirm, exploit, vendor-advisory
  • x-refsource-misc, patch
  • x-refsource-misc, product, release-notes

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.