{"id":"CVE-2026-102275","published":"2026-09-28T20:46:33Z","modified":"2026-09-29T13:56:09Z","title":"PyJWT accepts inconsistent OKP x/d JWKs, causing public/private key identity confusion","vendor":"jpadilla","product":"pyjwt","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00215,"percentile":0.06732,"provenance":"source"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"},{"id":"CWE-348","name":"Use of Less Trusted Source"}],"references":[{"url":"https://github.com/jpadilla/pyjwt/security/advisories/GHSA-x33g-cr3x-6449","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jpadilla/pyjwt/commit/3cd9ceec33ced359decbad75b413ad668ae6332c","tags":["x_refsource_MISC"]},{"url":"https://github.com/jpadilla/pyjwt/releases/tag/2.15.0","tags":["x_refsource_MISC"]}],"priority":{"score":5.9,"factors":[{"name":"EPSS percentile","points":1.35},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"jpadilla","affectedVersions":[{"vendor":"jpadilla","product":"pyjwt","versions":[">= 2.1.0, < 2.15.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-29T13:56:03.446684Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"PyJWT","vulnerableRanges":[">=2.1.0, <2.15.0"],"patched":["2.15.0"],"from":["GHSA-x33g-cr3x-6449","PYSEC-2026-4183"],"provenance":"source"}],"summary":{"text":"PyJWT's OKPAlgorithm.from_jwk in jwt/algorithms.py does not check that an OKP private JWK's public component x matches the public key derived from its private component d, so identity derived from x can diverge from operations performed with d. An attacker who can present a sender-constrained token and an integration that accepts private key parameters from a proof header without rejecting them could exploit this without the legitimate private key, provided the affected PyJWT versions (2.1.0 through 2.15.0) are in use and that integration behaviour applies.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:05Z"},"euvd":{"id":"EUVD-2026-88547","exploited":false,"provenance":"source"}}