# CVE-2026-102265: PyJWT: Uncaught RecursionError in jwt.decode() on deeply nested token header

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-28 · Modified: 2026-10-01
- Aliases: GHSA-8wjv-2p76-3863, PYSEC-2026-4142, UBUNTU-CVE-2026-102265, DEBIAN-CVE-2026-102265, CGA-2gj3-wjjv-qmrv, CGA-2h56-qqjq-8ph8, CGA-2rqm-796p-98ch, CGA-2vfp-hr2m-qwxp, CGA-556j-6g59-fpfr, CGA-5h78-fvmp-5xpp, CGA-6fpj-63fw-x6rh, CGA-6rw2-65v3-v8c7, CGA-8c67-p6vc-45cq, CGA-cq3r-6hf3-4vvj, CGA-mg3v-6m7v-6q7r, CGA-mxwp-m3qg-gm69, CGA-pjv3-r933-3vv6, CGA-q8v9-5m3h-m4v4, CGA-q8w9-4jvx-v398, CGA-qprv-p6hj-qhf8, CGA-rrxq-rcx6-rxrg, CGA-rwx8-h2mf-c6cq, CGA-vx74-x9q9-745q, CGA-xp42-92c2-46hq, CGA-239m-g43f-m7j8, CGA-23v5-qh62-mx2m, CGA-2r7c-fjvm-qw3f, CGA-2rrp-jqw4-5fj2, CGA-2vw7-rw6w-qwgh, CGA-2x2j-w85p-9h56, CGA-3239-mh5m-gv6c, CGA-3247-hj8w-2j55, CGA-32fj-49fg-924g, CGA-38v6-qhww-6hmp, CGA-3h5w-qw69-fmx8, CGA-3hc4-974x-chqh, CGA-3p43-ffvr-4h6r, CGA-3r37-mch6-g887, CGA-3vch-pfjv-22gc, CGA-42xv-6286-89cr, CGA-45hr-2c4v-xx2g, CGA-472w-5rc4-x7qr, CGA-47fg-9p37-jj8j, CGA-4cgc-hvvc-fm9f, CGA-4f6r-9h4x-rmhm, CGA-4hwv-vh8w-p74c, CGA-4mqx-94h3-2885, CGA-53r6-rcj7-mr87, CGA-58fc-54w4-mjvf, CGA-5hg6-78w2-6c6v, CGA-5j5m-c995-2qgw, CGA-5vgj-8jrr-g42p, CGA-62j5-rhj3-j9hq, CGA-635f-9c9r-2v36, CGA-63cg-29vj-ww69, CGA-63cm-jmfx-hhg7, CGA-6c22-8v9v-82cp, CGA-6c3m-g7mr-r5vx, CGA-6frx-ppq6-3x66, CGA-6ggc-j2g4-v46m, CGA-6h8c-7497-q39c, CGA-6rc5-wcx9-mp76, CGA-6rwp-5pr8-9chr, CGA-77rp-q9w3-wqqh, CGA-7hq2-qmvv-jcxw, CGA-7hw6-3rmp-5wrh, CGA-7jg8-995p-x57j, CGA-7mvj-jj5x-4xrm, CGA-86vv-5m94-fhv5, CGA-8gqp-chf6-fx6f, CGA-8v5c-93jj-gwxj, CGA-8wj2-p6m5-4jj9, CGA-993q-6qj5-vv98, CGA-9hrx-f9fr-x965, CGA-9r35-v3x3-f9gg, CGA-9wg2-r44j-7m8v, CGA-9wgh-p9g4-f4jm, CGA-9wxp-h849-5q9g, CGA-9xmm-m7gh-fxqv, CGA-c9rp-xj3f-3xpf, CGA-ch38-x3f6-fxm4, CGA-ch7f-3f2g-6v9x, CGA-ch9g-3x9x-3h84, CGA-cq2r-jqp5-q56r, CGA-f3g9-999r-gpxr, CGA-f457-p4rf-7v23, CGA-f5hq-5w3j-v8g3, CGA-f8f4-p44q-w8wp, CGA-fg57-7fx5-xc98, CGA-fg9m-m89m-g2xc, CGA-fmpm-3cj8-j5wf, CGA-fqjw-qf54-gxq3, CGA-frrw-896r-x63v, CGA-fx99-75m8-gm6m, CGA-g6jq-fprj-47m8, CGA-gccx-95gh-vv4w, CGA-gfxm-v5f5-h677, CGA-gpwh-3xpr-mqcf, CGA-gq7c-6r86-f2xq, CGA-gr4m-mp44-pv8x, CGA-gx93-gfjq-99mm, CGA-gxp7-33g7-3999, CGA-h745-6rhv-vc48, CGA-hfhr-7gmx-qhgc, CGA-hp58-3923-5g8m, CGA-hqp6-r7jg-9pm8, CGA-j285-xw9q-m9f4, CGA-j36x-3qgw-5fr4, CGA-j42v-42jj-qr6c, CGA-j4cr-2346-8ff5, CGA-jch2-mg2f-4qfr, CGA-jfx3-wpxv-jwcx, CGA-jqwx-g72q-mx3j, CGA-m3q7-5g4j-c9gp, CGA-m6pf-7vvw-hhj7, CGA-m7fv-3xm2-vq26, CGA-m852-r8vv-cjhc, CGA-p43j-5c8m-3gw6, CGA-p6jv-8gp7-4rpv, CGA-p84j-q7rh-9fw8, CGA-pc3g-2348-gq57, CGA-pcc2-98j3-24m2, CGA-pvpp-6rj9-9gwx, CGA-q75f-cvj4-mrw4, CGA-qcgm-x8pc-wfw8, CGA-qhpf-9427-p72q, CGA-r2ff-96gr-gpvm, CGA-rjp6-cfj7-p7wq, CGA-rq5q-378q-8m3j, CGA-rq6w-c7rp-hc26, CGA-v45w-6r7c-7cpx, CGA-v4h6-rhxv-mfr7, CGA-v5rx-frhq-jjvg, CGA-w368-h8gm-p42w, CGA-wh9h-rjr5-f544, CGA-wj5f-vwg6-9f4v, CGA-wx57-j98x-v5x9, CGA-xfw5-cjcm-g79g, CGA-xj8j-fv92-j7f4, CGA-xpwv-h3gp-23j8
- Record: https://cvemate.com/vulnerability/CVE-2026-102265 · JSON: https://cvemate.com/vulnerability/CVE-2026-102265/json

## Description

```text
PyJWT is a Python implementation of JSON Web Token standards. From 2.13.0 until 2.14.0, PyJWS._load in jwt/api_jws.py is affected because parser catches ValueError but not RecursionError. This occurs when a deeply nested token header reaches json.loads. As a result, RecursionError escapes the documented PyJWT error hierarchy. Consequently, an unauthenticated malformed token can cause a request-level failure and HTTP 500. This issue is fixed in version 2.14.0.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- EPSS: 0.343%, percentile 29.798%, 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): \< 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-8wjv-2p76-3863>
- <https://github.com/jpadilla/pyjwt/commit/06573692ebcdec8831c3927513b3e87c31fbbb62>
- <https://github.com/jpadilla/pyjwt/releases/tag/2.14.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-102265>
- <https://github.com/jpadilla/pyjwt>
- <https://pypi.org/project/pyjwt>
- <https://github.com/advisories/GHSA-8wjv-2p76-3863>
- <https://ubuntu.com/security/CVE-2026-102265>
- <https://www.cve.org/CVERecord?id=CVE-2026-102265>
- <https://security-tracker.debian.org/tracker/CVE-2026-102265>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102265.json>
- <https://ubuntu.com/security/notices/USN-9212-1>

---

Data as of 2026-12-05T07:00:44.631Z. 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
