# CVE-2026-102273: PyJWT accepts public JWK containers as HMAC secrets

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.4 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- 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-w2cx-738m-mc7w, PYSEC-2026-4151, UBUNTU-CVE-2026-102273, DEBIAN-CVE-2026-102273, CGA-24gp-gfmv-644v, CGA-2v96-54r9-vpcx, CGA-58hh-rwqx-8622, CGA-5hxq-mv57-wqvx, CGA-5xcv-78wq-rq9w, CGA-6g2v-c6r9-v6v5, CGA-8m82-8qv9-hw63, CGA-93jr-rjr5-qf4r, CGA-9jmj-fw2c-cmm3, CGA-9pwc-jmmc-cwh9, CGA-c8qw-25p7-g2qq, CGA-c926-hf83-54gp, CGA-f29q-mgr9-gc5q, CGA-fhcj-7259-6m52, CGA-fjx4-9gxw-w83r, CGA-m8v8-m4mg-j6h4, CGA-m92f-q829-mp79, CGA-r2wx-36gj-468r, CGA-r5c8-r7f4-g7c4, CGA-rqp2-vfw3-4q94, CGA-24r3-m234-5r59, CGA-24xv-jfrx-mpj8, CGA-2fc9-pwvw-qrv9, CGA-2vcw-4v43-gpwv, CGA-3595-w72p-v6xr, CGA-3p2h-fj8c-64rw, CGA-424j-63f7-qqmw, CGA-4555-3mj3-crjv, CGA-46p4-4g8p-v2jp, CGA-4c5r-7228-r94x, CGA-4chv-c8xq-2cwh, CGA-4jx4-vwxr-q84v, CGA-54ch-cc6p-7g6r, CGA-5c35-p7mx-4v88, CGA-5g93-jqqg-45r3, CGA-62hm-7ggm-x3mv, CGA-6fmr-mwx7-jw4p, CGA-784x-qmw8-v99x, CGA-7cj8-58xq-whf6, CGA-7j7m-8cmm-mh23, CGA-7v4q-7vjx-4h9j, CGA-82hc-863m-2432, CGA-83vx-4mwm-xq3j, CGA-84xr-4m6x-h8x8, CGA-863w-54w9-m6hh, CGA-878h-385v-mxvh, CGA-8792-vc32-5w9p, CGA-87v4-mf2j-jf39, CGA-8gmr-xjvm-f563, CGA-8mjv-f3g5-jjmr, CGA-8pg9-hpwg-833x, CGA-923v-8x44-rqh7, CGA-9266-p5mc-jfwh, CGA-92j2-6wh9-j85v, CGA-945x-7wjh-f2q6, CGA-9847-v6jm-77xj, CGA-996q-m6vr-4w62, CGA-99cw-5v83-prc7, CGA-9c3j-j9rv-96pv, CGA-9ch5-prqj-9cqx, CGA-9vrr-8ffh-5w3c, CGA-9vxf-7rr5-4342, CGA-9w78-wg62-mp57, CGA-9wmm-mc7f-ffw3, CGA-c7fv-j6fg-xrrf, CGA-chvj-4pj5-qmg4, CGA-cvm7-gmx9-mhqg, CGA-cvrr-9pxq-gmrx, CGA-cxcx-5fh8-jx9j, CGA-f5gc-g7r7-gfx9, CGA-f5v8-v94h-27x8, CGA-f9qv-6fqg-p75v, CGA-fh4v-q365-724r, CGA-fvgm-jrfv-jjv7, CGA-fvv7-cwc5-fr3w, CGA-g932-vcpj-7xhh, CGA-gc9r-hf84-rvrc, CGA-ggph-w57w-mq42, CGA-ghjq-pf8p-g5fj, CGA-gwj7-955p-w2mx, CGA-h5x5-h64p-925h, CGA-h6j2-3j36-6xjv, CGA-h6j8-7c6q-2p2g, CGA-h7j4-vhqf-hj2q, CGA-h98g-qv73-vqf3, CGA-hggf-47qh-j987, CGA-hjh5-hh26-85hg, CGA-hjj5-qx4h-pc66, CGA-hv7r-x9fm-74vp, CGA-hwjc-pp83-6qw2, CGA-hwpg-6q7g-h72x, CGA-j4mf-xw76-4wvg, CGA-jj4f-4fgr-fqxv, CGA-jqpv-chrj-pfj3, CGA-m48q-6j7p-3gxw, CGA-m643-q464-89j5, CGA-m68f-x8qc-95pp, CGA-m76j-34wg-58jq, CGA-mc9m-pgfh-jf44, CGA-mwpg-wcgj-v8ph, CGA-p3fp-wjvc-3mjq, CGA-p7cr-9mg7-v4mf, CGA-pg2j-mrrv-hqpq, CGA-ppjg-jr72-54h2, CGA-px43-r2mp-p889, CGA-q2v4-53pm-4pfq, CGA-q4mq-rcw2-c57q, CGA-qmx9-r76r-j8x4, CGA-qr44-3v23-vvw5, CGA-qrcj-g5hh-5g46, CGA-qv3q-wg96-gqgj, CGA-qvwg-mqq7-jhhx, CGA-qwhh-c4c2-gfr5, CGA-qx8q-8f2p-4j82, CGA-qxm4-m7gq-x2gm, CGA-r4pj-hc52-4mpf, CGA-rpg2-fgj5-qjww, CGA-rq63-2cvw-wg6m, CGA-rv7r-r223-jrm5, CGA-v39f-j4r3-j665, CGA-v6gj-5ffh-2q5x, CGA-vfcj-c9j9-g4c4, CGA-vp45-4g7p-83hr, CGA-vr9f-wqgc-2f24, CGA-vrjp-6ccr-qrmh, CGA-w467-6grg-36fr, CGA-w4m5-m9hq-5j99, CGA-w7pq-63m5-fmqj, CGA-wfvg-j6xp-9786, CGA-wpcv-q6f8-9w3f, CGA-wv44-xgvf-7m53, CGA-x2pr-9r5j-vfrx, CGA-x44w-4vc3-9ff6, CGA-x97c-994h-rg7q, CGA-xmrr-4jh8-gvjg, CGA-xph3-v6xq-g882
- Record: https://cvemate.com/vulnerability/CVE-2026-102273 · JSON: https://cvemate.com/vulnerability/CVE-2026-102273/json

## Description

```text
PyJWT is a Python implementation of JSON Web Token standards. From 2.13.0 until 2.14.0, PyJWT HMACAlgorithm.prepare_key is affected because HMAC key guard only recognizes top-level public JWK forms and misses container representations. This occurs when an application allows HMAC and asymmetric algorithms and passes a public JWK container as the raw key. As a result, public asymmetric key material is accepted as the HMAC secret. Consequently, an attacker who knows the public key can forge a token with arbitrary authenticated claims. This issue is fixed in version 2.14.0.
```

## Signals

- CVSS: 7.4 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.175%, percentile 7.218%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## 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): \< 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): All versions (No fix recorded) \| \< 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-w2cx-738m-mc7w>
- <https://github.com/jpadilla/pyjwt/commit/801cd128528c62d9b23fcd161d1a2e1c17982f95>
- <https://github.com/jpadilla/pyjwt/releases/tag/2.14.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-102273>
- <https://github.com/jpadilla/pyjwt>
- <https://pypi.org/project/pyjwt>
- <https://github.com/advisories/GHSA-w2cx-738m-mc7w>
- <https://ubuntu.com/security/CVE-2026-102273>
- <https://www.cve.org/CVERecord?id=CVE-2026-102273>
- <https://security-tracker.debian.org/tracker/CVE-2026-102273>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102273.json>
- <https://ubuntu.com/security/notices/USN-8916-2>
- <https://ubuntu.com/security/notices/USN-8916-1>

---

Data as of 2026-12-05T06:34:43.752Z. 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
