# CVE-2026-102266: PyJWK accepts empty HMAC keys, bypassing PyJWT's empty-key validation

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 2.14.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-09-28 · Modified: 2026-09-29
- Aliases: GHSA-9j54-fg26-wv3r, PYSEC-2026-4143, UBUNTU-CVE-2026-102266, DEBIAN-CVE-2026-102266, CGA-36c5-3g75-7g34, CGA-3phc-g6r8-h5c6, CGA-3px5-6vf4-wgv2, CGA-4pf6-82v2-h5pc, CGA-5xw5-5x23-2h54, CGA-629w-v9jr-hgp7, CGA-659q-w2w9-p67r, CGA-7h74-752x-gg55, CGA-7r4v-qhv7-vmc5, CGA-c9v6-7m6p-hqjv, CGA-cr83-7fw8-xmxx, CGA-f26v-69r9-7c5m, CGA-ggh4-qrm6-h8p6, CGA-hjvw-rh6h-m7hr, CGA-jqc8-7rjq-2x2r, CGA-p9r8-4hc7-5qc7, CGA-rphj-5xm4-w96w, CGA-xcpq-x45v-f6vg, CGA-xp5w-f5j7-j537, CGA-xr82-4h52-hj94, CGA-26r3-v54j-x6hm, CGA-2f3w-xc89-2j3h, CGA-2p39-8729-v4f3, CGA-35j2-m827-9m9m, CGA-37cg-x8g3-984v, CGA-37q8-937j-c6fw, CGA-386v-qgpw-j8rq, CGA-3cjh-r657-9fg3, CGA-3jph-fvxr-jhwx, CGA-3jw4-frv2-4729, CGA-3p54-9j84-83vx, CGA-3qmw-67hx-72xm, CGA-3w2h-rwc4-2p52, CGA-43vx-6r9c-mx5v, CGA-4658-rph2-9vf6, CGA-48jf-775x-7w56, CGA-48v3-84pr-h932, CGA-4hqv-jq4r-4549, CGA-4mcx-h482-6x38, CGA-4qvj-2352-jqgh, CGA-4xf6-6246-mvh7, CGA-53p2-353f-3cpf, CGA-552m-jqq2-fqmh, CGA-554w-xxgg-x2ff, CGA-56r5-428m-r983, CGA-59vp-9rpf-8qr8, CGA-5cxp-gq5v-q6cp, CGA-5f47-j6j7-8m4g, CGA-5rhx-h8xj-23q4, CGA-5wq5-fh5w-fvqv, CGA-65pj-5cj3-xmm7, CGA-66qg-frq2-5mcw, CGA-6h5x-3fg7-9qw5, CGA-6jmr-529v-9vqf, CGA-75j9-fwmc-2rh6, CGA-7fvw-qfvv-2wmx, CGA-7j2g-5f3c-q37h, CGA-7mj3-jq78-x6xp, CGA-7qjc-f9qc-56qm, CGA-7vrm-78mj-w6x3, CGA-7vw7-7h45-87cm, CGA-7xhj-2pf5-hxxv, CGA-85cf-xh7f-3r5x, CGA-863w-3hvx-xhm9, CGA-8747-7wmc-q957, CGA-8hvv-43vr-48rg, CGA-8jf2-f2rw-j9c5, CGA-8r7v-9pc6-vprq, CGA-8xpf-5vq8-5vpc, CGA-8xx5-hxhq-gr9h, CGA-92mj-4wf4-r8g6, CGA-945x-m26f-5pp2, CGA-9jhf-gxh7-cjqx, CGA-9jjw-2grw-5q7p, CGA-9wp8-6pvg-r37v, CGA-c273-j63p-8rhq, CGA-c62x-4x53-8p9x, CGA-cgjq-8m67-m4jx, CGA-cj6q-g296-5cwm, CGA-cjvr-4862-73jq, CGA-cr57-8967-87gg, CGA-cww3-52g5-m6cq, CGA-cx92-xhrr-r868, CGA-cxgv-385g-xv6c, CGA-f6rg-9fwh-7q48, CGA-f86g-jv9v-2h28, CGA-fr6f-q4h8-x728, CGA-fvfq-j2r5-4vpg, CGA-fwcv-jgg9-r5f9, CGA-fxmr-2prc-qc2w, CGA-g455-cp9w-29x7, CGA-gf32-46hw-3m7r, CGA-gf8v-wp93-62pf, CGA-ggjm-pj2p-4rf8, CGA-gjv5-xcr7-qgg8, CGA-gmm7-5hmr-cr7r, CGA-gx3h-5jmj-fj3j, CGA-h4x5-885v-8jc6, CGA-h9jh-m9xf-pgf4, CGA-hq2c-pgpx-3hq3, CGA-hw86-6vcm-cj22, CGA-j5wj-r4wj-j23r, CGA-j8hh-mh5q-qcc9, CGA-m4x2-jpv5-p277, CGA-mf7j-5jfx-p788, CGA-mvh8-p36r-94c6, CGA-p8cx-qh6r-925h, CGA-p8mh-r6rj-gj49, CGA-p9xh-vpwp-mpq4, CGA-ph77-fc47-r4xr, CGA-pv6c-hxhj-v893, CGA-q3g4-5jpr-fp84, CGA-q9gp-j2jh-jwgj, CGA-qh82-4f7c-4582, CGA-qmvp-34m4-r2mq, CGA-qpp2-pfvj-mx89, CGA-qvp7-q9p4-m869, CGA-r2mm-rf46-fcp3, CGA-r6rh-3v7m-26mg, CGA-r92p-g3vh-mr36, CGA-rf22-5q8w-x955, CGA-rf3f-2c6g-4r8x, CGA-rw63-6qmq-rqw8, CGA-vfc7-x8m9-25g4, CGA-vfx2-3mh5-5fqg, CGA-vmcv-rjcq-27x6, CGA-vxwr-rhmj-cj83, CGA-w3h4-hp2x-jgp7, CGA-w7hm-xjvq-f2pr, CGA-wm94-jj5r-38v2, CGA-x2rw-mc97-263p, CGA-x5wh-3hj9-cpw2, CGA-x6pw-5mx8-64f5, CGA-x8ff-chh5-p84m, CGA-xjp3-jjqw-32fp, CGA-xwrj-pq2q-cgxf
- Record: https://cvemate.com/vulnerability/CVE-2026-102266 · JSON: https://cvemate.com/vulnerability/CVE-2026-102266/json

## Description

```text
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.
```

## Signals

- CVSS: 9.1 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.225%, percentile 13.98%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 92)

- chainguard authentik-2026.5 (Chainguard): \< 2026.5.7-r4
- chainguard authentik-fips-2026.5 (Chainguard): \< 2026.5.7-r7
- chainguard azureml-inference-server-http (Chainguard): All versions (No fix recorded) \| \< 1.5.1-r10
- chainguard azureml-inference-server-http-fips (Chainguard): All versions (No fix recorded) \| \< 1.5.1-r9
- chainguard datadog-agent-7.77-core-integrations (Chainguard): \< 7.77.3-r26
- chainguard datadog-agent-7.78-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-7.79-core-integrations (Chainguard): \< 7.79.2-r20
- chainguard datadog-agent-7.80-core-integrations (Chainguard): \< 7.80.4-r19
- chainguard datadog-agent-7.81-core-integrations (Chainguard): \< 7.81.3-r8
- chainguard datadog-agent-7.82-core-integrations (Chainguard): \< 7.82.3-r5
- chainguard datadog-agent-7.83-core-integrations (Chainguard): \< 7.83.3-r2
- chainguard datadog-agent-7.84-core-integrations (Chainguard): \< 7.84.1-r1
- chainguard datadog-agent-fips-7.77-core-integrations (Chainguard): \< 7.77.3-r38
- chainguard datadog-agent-fips-7.78-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-fips-7.79-core-integrations (Chainguard): \< 7.79.2-r18
- chainguard datadog-agent-fips-7.80-core-integrations (Chainguard): \< 7.80.4-r21
- chainguard datadog-agent-fips-7.81-core-integrations (Chainguard): \< 7.81.3-r12
- chainguard datadog-agent-fips-7.82-core-integrations (Chainguard): \< 7.82.3-r8
- chainguard datadog-agent-fips-7.83-core-integrations (Chainguard): \< 7.83.3-r3
- chainguard datadog-agent-fips-7.84-core-integrations (Chainguard): All versions (No fix recorded) \| \< 7.84.2-r3

## References

- <https://github.com/jpadilla/pyjwt/security/advisories/GHSA-9j54-fg26-wv3r>
- <https://github.com/jpadilla/pyjwt/commit/f91ed44dd65baaf457f4b3353ed35e98a753934c>
- <https://github.com/jpadilla/pyjwt/releases/tag/2.14.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-102266>
- <https://github.com/jpadilla/pyjwt>
- <https://pypi.org/project/pyjwt>
- <https://github.com/advisories/GHSA-9j54-fg26-wv3r>
- <https://ubuntu.com/security/CVE-2026-102266>
- <https://www.cve.org/CVERecord?id=CVE-2026-102266>
- <https://security-tracker.debian.org/tracker/CVE-2026-102266>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102266.json>
- <https://ubuntu.com/security/notices/USN-8916-2>
- <https://ubuntu.com/security/notices/USN-8916-1>

---

Data as of 2026-12-05T07:10:37.808Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
