{"id":"UBUNTU-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.","modified":"2026-10-27T11:45:03.553112399Z","published":"2026-09-28T21:17:00Z","related":["USN-8934-1"],"upstream":["CVE-2026-102275"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-102275"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-102275"},{"type":"REPORT","url":"https://github.com/jpadilla/pyjwt/security/advisories/GHSA-x33g-cr3x-6449"},{"type":"REPORT","url":"https://github.com/jpadilla/pyjwt/commit/3cd9ceec33ced359decbad75b413ad668ae6332c"},{"type":"REPORT","url":"https://github.com/jpadilla/pyjwt/releases/tag/2.15.0"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8934-1"}],"affected":[{"package":{"name":"pyjwt","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/pyjwt?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-1ubuntu0.6"}]}],"versions":["1.7.1-2ubuntu2","2.1.0-1","2.3.0-1","2.3.0-1ubuntu0.1","2.3.0-1ubuntu0.2","2.3.0-1ubuntu0.3","2.3.0-1ubuntu0.4","2.3.0-1ubuntu0.5"],"ecosystem_specific":{"binaries":[{"binary_version":"2.3.0-1ubuntu0.6","binary_name":"python3-jwt"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102275.json"}},{"package":{"name":"pyjwt","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/pyjwt?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-1ubuntu0.4"}]}],"versions":["2.7.0-1","2.7.0-1ubuntu0.1","2.7.0-1ubuntu0.2","2.7.0-1ubuntu0.3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python3-jwt","binary_version":"2.7.0-1ubuntu0.4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102275.json"}},{"package":{"name":"pyjwt","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/pyjwt?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13.0-1ubuntu1.1"}]}],"versions":["2.10.1-4ubuntu1","2.12.1-1","2.13.0-1","2.13.0-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-jwt","binary_version":"2.13.0-1ubuntu1.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102275.json"}},{"package":{"name":"pyjwt","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/pyjwt?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.10.1-4ubuntu1.3"}]}],"versions":["2.10.1-2","2.10.1-3","2.10.1-3build1","2.10.1-4","2.10.1-4ubuntu1","2.10.1-4ubuntu1.1","2.10.1-4ubuntu1.2"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-jwt","binary_version":"2.10.1-4ubuntu1.3"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102275.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}