pyjwt — security advisory
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.
- Products
- pyjwt
- Affected versions
- 2.10.1-1, 2.10.1-2, 2.10.1-2+deb13u1, 2.10.1-3, 2.10.1-4, 2.11.0-2, 2.12.1-1, 2.13.0-1, 2.14.0-1, 2.15.0-1, 2.15.1-1, 2.6.0-1, 2.6.0-1+deb12u1, 2.7.0-1
- Fixed versions
- 2.15.0-1
- CVEs
- CVE-2026-102275
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 28 Oct 2026, 03:41 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2026-102275
pyjwt
Fixed versions: Not specified
pyjwt
Fixed versions: Not specified
pyjwt
Fixed versions: 2.15.0-1
Complete source record
{
"id": "ee58d52f1dbf6038fa8605fd1ea9668278797074374c43cd4bd80464c520843b",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-102275",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-102275",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2026-102275",
"products": [
{
"name": {
"value": "pyjwt",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.10.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.10.1-2",
"evidence": "/affected/0/versions"
},
{
"value": "2.10.1-3",
"evidence": "/affected/0/versions"
},
{
"value": "2.10.1-4",
"evidence": "/affected/0/versions"
},
{
"value": "2.11.0-2",
"evidence": "/affected/0/versions"
},
{
"value": "2.12.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.13.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.14.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.15.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.15.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.6.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.6.0-1+deb12u1",
"evidence": "/affected/0/versions"
},
{
"value": "2.7.0-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "pyjwt",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.10.1-2",
"evidence": "/affected/1/versions"
},
{
"value": "2.10.1-2+deb13u1",
"evidence": "/affected/1/versions"
},
{
"value": "2.10.1-3",
"evidence": "/affected/1/versions"
},
{
"value": "2.10.1-4",
"evidence": "/affected/1/versions"
},
{
"value": "2.11.0-2",
"evidence": "/affected/1/versions"
},
{
"value": "2.12.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.13.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.14.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.15.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.15.1-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "pyjwt",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.15.0-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "2.10.1-2",
"evidence": "/affected/2/versions"
},
{
"value": "2.10.1-3",
"evidence": "/affected/2/versions"
},
{
"value": "2.10.1-4",
"evidence": "/affected/2/versions"
},
{
"value": "2.11.0-2",
"evidence": "/affected/2/versions"
},
{
"value": "2.12.1-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.13.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.14.0-1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2026-102275",
"aliases": [
"DEBIAN-CVE-2026-102275"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "pyjwt",
"purl": "pkg:deb/debian/pyjwt?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"2.10.1-1",
"2.10.1-2",
"2.10.1-3",
"2.10.1-4",
"2.11.0-2",
"2.12.1-1",
"2.13.0-1",
"2.14.0-1",
"2.15.0-1",
"2.15.1-1",
"2.6.0-1",
"2.6.0-1+deb12u1",
"2.7.0-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-102275.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "pyjwt",
"purl": "pkg:deb/debian/pyjwt?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"2.10.1-2",
"2.10.1-2+deb13u1",
"2.10.1-3",
"2.10.1-4",
"2.11.0-2",
"2.12.1-1",
"2.13.0-1",
"2.14.0-1",
"2.15.0-1",
"2.15.1-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-102275.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.15.0-1"
}
]
}
],
"package": {
"name": "pyjwt",
"purl": "pkg:deb/debian/pyjwt?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"2.10.1-2",
"2.10.1-3",
"2.10.1-4",
"2.11.0-2",
"2.12.1-1",
"2.13.0-1",
"2.14.0-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-102275.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-07T10:00:07.221568640Z",
"provider": "osv",
"upstream": [
"CVE-2026-102275"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-102275"
]
},
"related_cves": [
{
"value": "CVE-2026-102275",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 94684,
"published_at": "2026-09-28T21:17:15.857+00:00"
}