CVE-2026-102275
published medium CVSS 3.1 · 6.5PyJWT accepts inconsistent OKP x/d JWKs, causing public/private key identity confusion
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| jpadilla | — | pyjwt>= 2.1.0, < 2.15.0 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3298 | Fixed | Not stated | Amazon Linux assessment |
| Ubuntu | jammy | pyjwt | Advisory build | 2.3.0-1ubuntu0.6 | USN-8934-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-PyJWTnoarch | Advisory build | 2.4.0-150200.3.17.1 | SUSE-SU-2026:5491-1 |
| Amazon Linux | AL2023 | python-jwtnoarch | Listed in advisory | Not stated | ALAS2023-2026-3298 |
| Ubuntu | noble | pyjwt | Advisory build | 2.7.0-1ubuntu0.4 | USN-8934-1 |
| Ubuntu | resolute | pyjwt | Advisory build | 2.10.1-4ubuntu1.3 | USN-8934-1 |
| Ubuntu | stonking | pyjwt | Advisory build | 2.13.0-1ubuntu1.1 | USN-8934-1 |
Show 27 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP4 | python311-PyJWTnoarch | Advisory build | 2.8.0-150400.8.20.1 | SUSE-SU-2026:5064-1 |
| SUSE / openSUSE | SLE-15-SP5 | python3-PyJWTnoarch | Advisory build | 2.4.0-150200.3.17.1 | SUSE-SU-2026:5491-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-PyJWTnoarch | Advisory build | 2.8.0-150400.8.20.1 | SUSE-SU-2026:5064-1 |
| SUSE / openSUSE | SLE-15-SP6 | python3-PyJWTnoarch | Advisory build | 2.4.0-150200.3.17.1 | SUSE-SU-2026:5491-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-PyJWTnoarch | Advisory build | 2.8.0-150400.8.20.1 | SUSE-SU-2026:5064-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-PyJWTnoarch | Advisory build | 2.4.0-150200.3.17.1 | SUSE-SU-2026:5491-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-PyJWTnoarch | Advisory build | 2.8.0-150400.8.20.1 | SUSE-SU-2026:5064-1 |
| SUSE / openSUSE | SLE-16 | python313-PyJWTnoarch | Advisory build | 2.12.1-160000.3.1 | SUSE-SU-2026:24219-1 |
| SUSE / openSUSE | SLE-16 | python313-PyJWTnoarch | Advisory build | 2.12.1-160100.3.1 | SUSE-SU-2026:24889-1 |
| SUSE / openSUSE | SLE-16 | python313-PyJWTnoarch | Advisory build | 2.12.1-160100.3.1 | SUSE-SU-2026:24944-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-PyJWTnoarch | Advisory build | 2.8.0-150400.8.20.1 | SUSE-SU-2026:5064-1 |
| SUSE / openSUSE | SLE-5 | python3-PyJWTnoarch | Advisory build | 2.4.0-150200.3.17.1 | SUSE-SU-2026:5491-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-PyJWTnoarch | Advisory build | 2.12.1-160000.3.1 | OPENSUSE-SU-2026:22074-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | python313-PyJWTnoarch | Advisory build | 2.12.1-160100.3.1 | OPENSUSE-SU-2026:22383-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyJWTaarch64 | Advisory build | 2.15.1-1.1 | OPENSUSE-SU-2026:11994-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyJWTppc64le | Advisory build | 2.15.1-1.1 | OPENSUSE-SU-2026:11994-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyJWTs390x | Advisory build | 2.15.1-1.1 | OPENSUSE-SU-2026:11994-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyJWTx86_64 | Advisory build | 2.15.1-1.1 | OPENSUSE-SU-2026:11994-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-PyJWTaarch64 | Advisory build | 2.15.1-1.1 | OPENSUSE-SU-2026:11994-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-PyJWTppc64le | Advisory build | 2.15.1-1.1 | OPENSUSE-SU-2026:11994-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-PyJWTs390x | Advisory build | 2.15.1-1.1 | OPENSUSE-SU-2026:11994-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-PyJWTx86_64 | Advisory build | 2.15.1-1.1 | OPENSUSE-SU-2026:11994-1 |
| Ubuntu | jammy | python3-jwt | Advisory build | 2.3.0-1ubuntu0.6 | USN-8934-1 |
| Ubuntu | noble | python3-jwt | Advisory build | 2.7.0-1ubuntu0.4 | USN-8934-1 |
| Ubuntu | resolute | python3-jwt | Advisory build | 2.10.1-4ubuntu1.3 | USN-8934-1 |
| Ubuntu | stonking | python3-jwt | Advisory build | 2.13.0-1ubuntu1.1 | USN-8934-1 |
| Amazon Linux | AL2023 | python-jwtsrc | Listed in advisory | Not stated | ALAS2023-2026-3298 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| jpadilla | pyjwt | >= 2.1.0, < 2.15.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-345 CWE-345: Insufficient Verification of Data Authenticity
- CWE-348 CWE-348: Use of Less Trusted Source
References
3Provider assertions
2GitHub_M · cna
PyJWT accepts inconsistent OKP x/d JWKs, causing public/private key identity confusion
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f8b98c102229b30175a84b04726e7fcaeaf26656f35ecc7560ba4be18c393b69
- Ingested
- 30 Sep 2026, 15:18:33 UTC
- Source record
- Official CVE record