CVE-2026-102266
PyJWK accepts empty HMAC keys, bypassing PyJWT's empty-key validation
Reported by github_m · Published September 28, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| fence-agents-all | errata.rockylinux.org | 0:4.16.0-34.el10_3.1.aarch64, 0:4.16.0-21.el10_2.7.aarch64, 0:4.10.0-122.el9_9.1.aarch64, 0:4.10.0-110.el9_8.8.aarch64 |
| authentik-2026.5 | Chainguard | 2026.5.7-r4 |
| fence-agents-debuginfo | errata.rockylinux.org | 0:4.16.0-34.el10_3.1.x86_64, 0:4.16.0-34.el10_3.1.s390x, 0:4.16.0-34.el10_3.1.aarch64, 0:4.16.0-21.el10_2.7.x86_64, 0:4.16.0-21.el10_2.7.s390x, 0:4.16.0-21.el10_2.7.aarch64, 0:4.10.0-122.el9_9.1.x86_64, 0:4.10.0-110.el9_8.8.x86_64 |
| fence-agents-vmware-soap | errata.rockylinux.org | 0:4.10.0-122.el9_9.1.noarch, 0:4.10.0-110.el9_8.8.noarch |
| fence-agents-sbd | errata.rockylinux.org | 0:4.16.0-34.el10_3.1.noarch, 0:4.16.0-21.el10_2.7.noarch, 0:4.10.0-122.el9_9.1.noarch, 0:4.10.0-110.el9_8.8.noarch |
| fence-agents-ipmilan | errata.rockylinux.org | 0:4.16.0-34.el10_3.1.noarch, 0:4.16.0-21.el10_2.7.noarch, 0:4.10.0-122.el9_9.1.noarch, 0:4.10.0-110.el9_8.8.noarch |
| fence-agents-emerson | errata.rockylinux.org | 0:4.16.0-34.el10_3.1.noarch, 0:4.16.0-21.el10_2.7.noarch, 0:4.10.0-122.el9_9.1.noarch, 0:4.10.0-110.el9_8.8.noarch |
| fence-agents-apc-snmp | errata.rockylinux.org | 0:4.10.0-122.el9_9.1.noarch, 0:4.10.0-110.el9_8.8.noarch |
| fence-agents-scsi | errata.rockylinux.org | 0:4.16.0-34.el10_3.1.noarch, 0:4.16.0-21.el10_2.7.noarch, 0:4.10.0-122.el9_9.1.noarch, 0:4.10.0-110.el9_8.8.noarch |
| fence-agents-kdump-debuginfo | errata.rockylinux.org | 0:4.16.0-34.el10_3.1.x86_64, 0:4.16.0-21.el10_2.7.x86_64, 0:4.10.0-122.el9_9.1.ppc64le, 0:4.10.0-110.el9_8.8.ppc64le |
| fence-agents-intelmodular | errata.rockylinux.org | 0:4.16.0-34.el10_3.1.noarch, 0:4.16.0-21.el10_2.7.noarch, 0:4.10.0-122.el9_9.1.noarch, 0:4.10.0-110.el9_8.8.noarch |
| fence-agents-ibm-powervs | errata.rockylinux.org | 0:4.16.0-34.el10_3.1.noarch, 0:4.16.0-21.el10_2.7.noarch, 0:4.10.0-122.el9_9.1.noarch, 0:4.10.0-110.el9_8.8.noarch |
48 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| jpadilla | pyjwt | >= 2.13.0, < 2.14.0 |
| chainguard | authentik-2026.5 | 0 |
| chainguard | superset-fips-6.1 | 0 |
| chainguard | openstack-nova-2025.2 | 0 |
| chainguard | openstack-nova-2025.1 | 0 |
| chainguard | datadog-agent-fips-7.80 | 0 |
| chainguard | semgrep | 0 |
| chainguard | openstack-horizon-2025.2-fips | 0 |
| chainguard | datadog-agent-fips-7.82 | 0 |
| wolfi | superset-6.1 | 0 |
| chainguard | airflow-postgres-fips-3 | 0 |
| wolfi | py3-cassandra-medusa | 0 |
| chainguard | datadog-agent-7.77 | 0 |
| wolfi | semgrep | 0 |
| wolfi | ggshield | 0 |
| chainguard | openstack-octavia-2025.2 | 0 |
| wolfi | datadog-agent-7.77 | 0 |
| chainguard | datadog-agent-7.79 | 0 |
| chainguard | datadog-agent-fips-7.81 | 0 |
| jpadilla | pyjwt |
…and 65 more
Timeline
- Sep 28, 2026 CVE Published
- Sep 29, 2026 CVE Updated
- Sep 29, 2026 EPSS Score (10 in total, the first dated here)
- Oct 30, 2026 Security Advisory (6 in total, the first dated here)
- Nov 4, 2026 Distribution Patch (9 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-102266
vulnetix vdb fixes CVE-2026-102266
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-102266/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/jpadilla/pyjwt/security/advisories/GHSA-9j54-fg26-wv3r x_refsource_CONFIRM
- https://github.com/jpadilla/pyjwt/commit/f91ed44dd65baaf457f4b3353ed35e98a753934c x_refsource_MISC
- https://github.com/jpadilla/pyjwt/releases/tag/2.14.0 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-102266 advisory
- https://github.com/advisories/GHSA-9j54-fg26-wv3r advisory