Vulnerability record · CVE-2026-102266 · published 28 September 2026
CVE-2026-102266: Pyjwt project pyjwt improper verification of cryptographic signature vulnerability
Pyjwt Project · Pyjwt
PyJWT is a Python implementation of JSON Web Token standards. From 2.13.0 until 2.14.0, HMACAlgorithm.from_jwk is affected because PyJWK verification path used the decoded key without applying prepare_key validation. This occurs when a trusted JWK Set contains an oct entry with an empty k value. As a result, an attacker signs an HMAC token with the same zero-length key accepted by PyJWT. Consequently, forged token can carry arbitrary authenticated claims. This issue is fixed in version 2.14.0.
Description
PyJWT is a Python implementation of JSON Web Token standards. From 2.13.0 until 2.14.0, HMACAlgorithm.from_jwk is affected because PyJWK verification path used the decoded key without applying prepare_key validation. This occurs when a trusted JWK Set contains an oct entry with an empty k value. As a result, an attacker signs an HMAC token with the same zero-length key accepted by PyJWT. Consequently, forged token can carry arbitrary authenticated claims. This issue is fixed in version 2.14.0.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/jpadilla/pyjwt/commit/f91ed44dd65baaf457f4b3353ed35e98a753934c | Patch |
| https://github.com/jpadilla/pyjwt/releases/tag/2.14.0 | ProductRelease Notes |
| https://github.com/jpadilla/pyjwt/security/advisories/GHSA-9j54-fg26-wv3r | ExploitVendor Advisory |
| https://github.com/jpadilla/pyjwt/security/advisories/GHSA-9j54-fg26-wv3r | ExploitVendor Advisory |
Track CVE-2026-102266 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2026-102266), CISA KEV, FIRST EPSS (scores of 2026-10-08). This page is refreshed as NVD updates the record.