CVE-2026-102266: PyJWK accepts empty HMAC keys, bypassing PyJWT's empty-key validation
Vulnerability summary
CVE-2026-102266 is a critical (CVSS 9.1) vulnerability in jpadilla pyjwt. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 13.9% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 12 · Related 3Timeline
- 28-09-2026PublishedVulnerability first disclosed.
- 29-09-2026Last modifiedVulnerability information updated.
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 metrics
7 scores · 7 sources · 1 version- CVE.orgCNA7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NDiffers
- OSV · PypiEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- OSV · DebianEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- OSV · WolfiEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NDiffers
- OSV · ChainguardEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NDiffers
EPSS trend
Probability
0.22%
Chance of exploitation in the next 30 days
Percentile
14%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.22% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundPyjwt
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard76 products
- authentik-2026.5< 2026.5.7-r4
- authentik-fips-2026.5< 2026.5.7-r7
- azureml-inference-server-httpAll versions (No fix recorded) | < 1.5.1-r10
- azureml-inference-server-http-fipsAll versions (No fix recorded) | < 1.5.1-r9
- datadog-agent-7.77-core-integrations< 7.77.3-r26
Wolfi11 products
- datadog-agent-7.77-core-integrations< 7.77.3-r26
- datadog-agent-7.78-core-integrationsAll versions (No fix recorded)
- datadog-agent-7.79-core-integrations< 7.79.2-r20
- datadog-agent-7.80-core-integrations< 7.80.4-r19
- datadog-agent-7.81-core-integrations< 7.81.3-r8
Debian1 product
- pyjwtAll versions (No fix recorded) | < 2.14.0-1
Jpadilla1 product
- pyjwt≥ 2.13.0, < 2.14.0
Pyjwt_project1 product
- pyjwt2.13.0
PyPI1 product
- pyjwt≥ 2.13.0, < 2.14.0
Ubuntu1 product
- pyjwtAll versions (No fix recorded) | < 2.13.0-1ubuntu1 | < 2.10.1-4ubuntu1.2
7 vendors · 92 products
References
13 links- github.com/jpadilla/pyjwt/security/advisories/GHSA-9j54-fg26-wv3rX Refsource CONFIRMWEBREPORTAdvisoryExploitVendor Advisory
- github.com/jpadilla/pyjwt/commit/f91ed44dd65baaf457f4b3353ed35e98a753934cX Refsource MISCWEBREPORTFIXPatch
- github.com/jpadilla/pyjwtPACKAGE
- pypi.org/project/pyjwtPACKAGE