# CVE-2026-102268: PyJWT: Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard

- 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-ffc3-869f-jxw9, PYSEC-2026-4145, UBUNTU-CVE-2026-102268, DEBIAN-CVE-2026-102268, CGA-36xg-hrgg-fr2f, CGA-3f62-hgg4-2xgj, CGA-3rj5-fjch-gp75, CGA-43w4-hj75-cq3g, CGA-44j4-6f44-xp89, CGA-62m4-wvm6-gp93, CGA-67cc-2rcq-cvc3, CGA-8qr2-w8hj-v6j3, CGA-9hfv-8696-8fp4, CGA-9v6p-9f5m-hh25, CGA-c2m9-r56j-wg68, CGA-fccx-4cg7-vmq5, CGA-g2p5-g2x3-5f95, CGA-g774-xg46-ff4m, CGA-gjw6-5q6g-865h, CGA-h2qr-w7xv-xhh3, CGA-p26j-r8p9-v8qh, CGA-p637-cmv2-jhgj, CGA-qvw8-ff9j-94xm, CGA-rx78-p526-mc5c, CGA-w55j-3mwh-xh9p, CGA-xvvc-349c-f8qc, CGA-23g2-5mm6-pf67, CGA-2c3h-mf56-67xc, CGA-2fxx-rjpf-vh5v, CGA-2m38-vx6r-4f2j, CGA-2rfj-v2f9-948g, CGA-353r-wv7m-h96x, CGA-37wv-pcj6-966x, CGA-3chc-qphc-89jg, CGA-3f73-4fxj-c879, CGA-3hjm-8q38-j589, CGA-3vjx-crc6-xq57, CGA-3vxq-xwj3-j5cg, CGA-48f9-cmjg-x4wp, CGA-4h7h-rp4m-6j35, CGA-4j8v-5gvf-vccp, CGA-4jhh-cqv6-pv5c, CGA-4jwm-q376-8mmm, CGA-5xp5-xq3w-r9g8, CGA-677m-5hr4-jv95, CGA-6p6x-jg24-4v2g, CGA-6qvw-6qqg-3xgv, CGA-6qwc-rjvx-6rq9, CGA-6ww2-6p3j-h6w4, CGA-75qf-hm3j-29hc, CGA-7wj9-gwrw-h5pf, CGA-7x5j-jh38-66qr, CGA-89jr-9792-5v7c, CGA-8g7v-9wcm-5m69, CGA-8jv2-jmqj-xhv7, CGA-8m45-x9pw-cwgm, CGA-92m3-r5qq-5gjp, CGA-9364-92g6-fw7f, CGA-96qq-4f83-xg7h, CGA-9hgr-pw79-g9qv, CGA-9mmr-vg28-pjxc, CGA-9mxr-qxp3-j7c3, CGA-9p6r-463p-87jm, CGA-9qxr-4rq9-84wf, CGA-9rrp-2fr7-fxmw, CGA-9v8j-2wxg-25x4, CGA-9wv4-9hp8-8pc8, CGA-cm29-ff8h-jj73, CGA-crf3-9wj4-hh44, CGA-crv2-9hvf-f779, CGA-f249-52rg-w2ff, CGA-f24h-rfpp-8mhc, CGA-f2gv-p5m2-hxj4, CGA-f6vg-pj4q-5p59, CGA-f95v-q62g-3vfv, CGA-fj7c-gch7-f9q8, CGA-fwvm-cmjc-37q2, CGA-g372-99w8-fc2q, CGA-g3rq-7jw2-78h7, CGA-gfvw-cxhw-5x8x, CGA-gjjp-89ch-r5hp, CGA-gm2w-9682-77pv, CGA-gpxq-qvf8-3qgv, CGA-gvj4-g72j-57ch, CGA-gx56-c6qx-89xx, CGA-gxmc-w6q5-92c6, CGA-h66m-gccm-xhch, CGA-hc3h-x4xx-qf26, CGA-hcxc-7vm5-h5g2, CGA-hf2x-rr6g-hxxr, CGA-hgq3-r99h-j24g, CGA-hmqx-qvwv-rhw3, CGA-hqr8-8798-wm66, CGA-hwvm-p4x7-g7hx, CGA-j33q-x7pv-q432, CGA-j3fj-8949-8cmg, CGA-j3g9-jgg8-xqxg, CGA-j4ch-2qg4-j69x, CGA-jm89-2wpf-f4j3, CGA-m374-j847-x73j, CGA-m3q7-xj4g-8m5j, CGA-m3r8-2q6j-f7mg, CGA-m3r9-6j4x-6g7f, CGA-m7fg-mg45-2jh2, CGA-m8h2-q236-q8fq, CGA-mc35-qf83-hmmq, CGA-mjfq-h327-3grg, CGA-mw68-hjpq-rm77, CGA-mx5p-g88f-p3pw, CGA-p389-32j8-xqhp, CGA-p6r9-wpwv-m7g2, CGA-p9xm-jfxc-fh56, CGA-pm34-9pc8-v83c, CGA-pqv4-pvv6-jjm6, CGA-prgp-3j69-474x, CGA-pw29-g262-f386, CGA-pwmg-66h7-8mm8, CGA-pwrv-mf86-whr2, CGA-qh2v-73r3-7qv5, CGA-qhh9-6g7q-rh5g, CGA-qm2x-x9q9-rh8w, CGA-qmjj-8mq4-h3rf, CGA-qq23-f79v-5qxj, CGA-qq5c-848p-c89p, CGA-r688-gv38-cmg7, CGA-rjf8-8w99-32vv, CGA-rpg9-mc98-g2jh, CGA-rqfq-qc9x-22pp, CGA-rvr4-24fr-9x4g, CGA-rw3f-9j4c-6hf2, CGA-v29m-c9h5-ch8q, CGA-v77g-qcqf-p7v7, CGA-vcqm-cw59-h3q6, CGA-vm9f-c6pj-4c74, CGA-w3x6-8w6r-69w2, CGA-w492-vpjq-g288, CGA-w4qh-pxcm-83h6, CGA-w94j-75f4-52c7, CGA-wcpx-gg4x-pw4q, CGA-wfg6-8ch6-rw33, CGA-wrwq-w724-86r9, CGA-wvx2-844j-wj86, CGA-wx2f-9vjh-rgm3, CGA-x4hr-c758-c7wv, CGA-x7j4-59h3-fp97, CGA-x9c3-p24c-2prc
- Record: https://cvemate.com/vulnerability/CVE-2026-102268 · JSON: https://cvemate.com/vulnerability/CVE-2026-102268/json

## Description

```text
PyJWT is a Python implementation of JSON Web Token standards. Prior to 2.14.0, is_pem_format in jwt/utils.py is affected because is_pem_format does not recognize every PEM representation accepted by the cryptography loader. This occurs when an application mixes HMAC and asymmetric algorithms and supplies a mutated public-key PEM as raw key bytes. As a result, HMACAlgorithm.prepare_key treats the unrecognized asymmetric public key as an HMAC secret. Consequently, an attacker who knows the public key can forge authenticated HMAC tokens. This issue is fixed in version 2.14.0.
```

## Signals

- CVSS: 9.1 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.266%, percentile 19.971%, 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 96)

- chainguard airflow-2 (Chainguard): \< 2.11.2-r25
- chainguard airflow-core-2 (Chainguard): \< 2.11.2-r10
- 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): All versions (No fix recorded) \| \< 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

## References

- <https://github.com/jpadilla/pyjwt/security/advisories/GHSA-ffc3-869f-jxw9>
- <https://github.com/jpadilla/pyjwt/commit/8b4e233a22206b34ec1186e912e75c0b2396ac07>
- <https://github.com/jpadilla/pyjwt/releases/tag/2.14.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-102268>
- <https://github.com/jpadilla/pyjwt>
- <https://pypi.org/project/pyjwt>
- <https://github.com/advisories/GHSA-ffc3-869f-jxw9>
- <https://ubuntu.com/security/CVE-2026-102268>
- <https://www.cve.org/CVERecord?id=CVE-2026-102268>
- <https://security-tracker.debian.org/tracker/CVE-2026-102268>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102268.json>
- <https://ubuntu.com/security/notices/USN-8916-2>
- <https://ubuntu.com/security/notices/USN-8916-1>

---

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