# CVE-2026-48523: PyJWT: Algorithm allow-list bypass when decoding with \`PyJWK\` / \`PyJWKClient\` keys

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-28 · Modified: 2026-05-28
- Aliases: GHSA-jq35-7prp-9v3f, PYSEC-2026-176, UBUNTU-CVE-2026-48523, DEBIAN-CVE-2026-48523, CGA-29h3-852p-m7rq, CGA-2fgp-hg74-r878, CGA-376m-99m5-7m2p, CGA-4vgx-vvch-66q5, CGA-525h-8473-v967, CGA-5696-54w9-xh3g, CGA-58p3-m2c8-58m8, CGA-5jwp-7vxc-px93, CGA-6m25-fvwp-8v83, CGA-8j9j-mhj2-5wvx, CGA-8vpg-6g6r-8hgj, CGA-9pfw-2hwv-72hm, CGA-cvqx-h466-2f3g, CGA-f243-xx8m-h4m8, CGA-f4qp-rx4f-xvr6, CGA-fgmr-vgw8-99mg, CGA-gmfq-wqgv-mw3f, CGA-hc9v-g437-94qw, CGA-hxj9-vp6f-6rj3, CGA-jr3w-88gc-gpc9, CGA-m39w-fgj2-vvc3, CGA-mfrm-hm9g-vxvj, CGA-pg3f-v759-7xfx, CGA-pphg-mxc6-wmjg, CGA-q5vh-92v8-cvg3, CGA-q96g-xf2h-2c45, CGA-rq5w-v3pp-v4jj, CGA-v6jv-xm9c-cgp5, CGA-v6q5-rpmv-3hxf, CGA-v9vv-3wgp-rjv8, CGA-w4v5-jfqv-xmv2, CGA-23g8-q8vx-vvj4, CGA-2fgg-5p7c-mr4c, CGA-34q8-prmw-pjx9, CGA-38g7-27vm-vrx4, CGA-3p3x-5f4f-xr2w, CGA-3v6p-79q5-qx33, CGA-445g-2wgj-7cm7, CGA-48q8-xc7m-vjh5, CGA-4953-q5r2-57p9, CGA-4fqv-x9h9-hxxg, CGA-4jph-x58r-5558, CGA-5668-ghfc-h999, CGA-5cwr-q7gh-2f3g, CGA-5p43-x9wx-369q, CGA-5q6m-7qpv-cjp8, CGA-69gg-9v87-w2qm, CGA-69mr-jwmx-556x, CGA-6w9m-mrw2-c9mf, CGA-78cr-wm4x-64g7, CGA-7h9q-5j6m-cw2m, CGA-7m73-v44h-3q53, CGA-7x2g-rvcx-64r7, CGA-89jc-wrv6-72wp, CGA-8vf2-6v84-5rx2, CGA-8x52-x6px-7mh4, CGA-93v9-w23p-jp78, CGA-94gq-87x2-fwh8, CGA-94m5-rghq-3wx5, CGA-976c-gfcr-3w7h, CGA-9q9q-r6hm-8p73, CGA-9x88-6rcx-pcfp, CGA-c23r-vmp7-3q6j, CGA-c9ch-h2qg-46xx, CGA-c9w2-ppqj-q83x, CGA-cpj7-93q9-2r63, CGA-cv9g-fmhc-vrm6, CGA-cxfc-jhgj-ww2r, CGA-f64f-j6g6-j4hg, CGA-f64p-3672-767g, CGA-f6rm-j4x6-xvhw, CGA-f755-2m4r-854r, CGA-fg6m-hjqm-q6rm, CGA-fh56-mxq5-qfcq, CGA-fm92-78v7-6xjc, CGA-fp6w-7x3g-395x, CGA-fv8w-5p5x-85x3, CGA-fw8j-x268-h45c, CGA-fwc5-7vgw-wcq4, CGA-g335-7mgc-wfp4, CGA-g4cv-22gf-p2xg, CGA-g6pw-m68w-f2p5, CGA-gf52-p98h-22x5, CGA-gh7v-gj2v-ggx6, CGA-gpj4-m4hh-rcgv, CGA-gx5j-4prx-29gp, CGA-h3g6-j449-5p8g, CGA-hh6g-jmgp-gg7v, CGA-hmvp-82g2-pw89, CGA-hqc5-qw69-5x9w, CGA-hwmw-7xh3-5m2q, CGA-j3m9-m7rq-78xm, CGA-jjh5-cmcr-pjvm, CGA-jjwj-29jf-wxwq, CGA-m495-vrfp-c5mq, CGA-m643-ppmh-2qp8, CGA-m739-754r-4hrj, CGA-mh77-xcg2-fvwg, CGA-p6c4-mcpp-hmvr, CGA-pph2-35c9-9w66, CGA-prr9-5qp4-m6vx, CGA-pvwf-v9rr-jf2r, CGA-px94-hwvp-5ghv, CGA-q2cw-6m36-8x4w, CGA-q6c9-9962-cmqh, CGA-q9hq-r4mf-x26x, CGA-qhjp-xqqc-mhjc, CGA-r2f6-234p-qm9m, CGA-r94p-r9wm-53gv, CGA-rh56-hm2w-jg8p, CGA-rhxg-pxp7-pv57, CGA-rj8c-6cx3-jhv2, CGA-rmhw-jhfj-3p9w, CGA-rr54-37mv-hp3r, CGA-v6mw-g7j6-5x77, CGA-v79p-77xp-ffgw, CGA-v8rq-q3f6-w36v, CGA-vhvm-2xvp-jrx5, CGA-vmf7-wqc4-c475, CGA-vqq6-2gpf-vg3p, CGA-vw5m-qhjh-5v52, CGA-w652-c978-hq65, CGA-w9hm-mmqq-wv47, CGA-wpvc-498h-v24q, CGA-wvqw-4q2h-h972, CGA-x8qg-jxv2-79xj, CGA-xv7x-rf6m-6ffw
- Record: https://cvemate.com/vulnerability/CVE-2026-48523 · JSON: https://cvemate.com/vulnerability/CVE-2026-48523/json

## Description

```text
PyJWT is a JSON Web Token implementation in Python. From 2.9.0 to 2.12.1, there is a verifier-side algorithm allow-list bypass when jwt.decode() or jwt.decode_complete() are called with a PyJWK key. The token header alg is checked against the caller-supplied algorithms allow-list, but signature verification is performed with the algorithm bound to the PyJWK object instead of the header algorithm. An attacker who controls a registered JWK/JWKS private key can sign with a disallowed algorithm, advertise an allowed algorithm in the JWT header, and still be accepted. The issue affects the documented PyJWKClient.get_signing_key_from_jwt(...) flow. This vulnerability is fixed in 2.13.0.
```

## Signals

- CVSS: 5.4 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.127%, percentile 2.496%, 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 87)

- chainguard airflow-2 (Chainguard): \< 2.11.2-r25
- chainguard airflow-core-2 (Chainguard): \< 2.11.2-r10
- chainguard airflow-core-3 (Chainguard): \< 3.2.2-r5
- chainguard airflow-postgres-fips-3 (Chainguard): \< 3.2.2-r3
- chainguard awx (Chainguard): \< 24.6.1-r41
- chainguard datadog-agent-7.71-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-7.72-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-7.73-core-integrations (Chainguard): \< 7.73.3-r23
- chainguard datadog-agent-7.74-core-integrations (Chainguard): \< 7.74.1-r24
- chainguard datadog-agent-7.75-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-7.76 (Chainguard): \< 7.76.3-r41
- chainguard datadog-agent-7.76-core-integrations (Chainguard): \< 7.76.3-r26
- chainguard datadog-agent-7.77-core-integrations (Chainguard): \< 7.77.3-r16
- chainguard datadog-agent-7.78-core-integrations (Chainguard): \< 7.78.4-r10
- chainguard datadog-agent-7.79-core-integrations (Chainguard): \< 7.79.2-r6
- chainguard datadog-agent-7.80-core-integrations (Chainguard): \< 7.80.4-r3
- chainguard datadog-agent-fips-7.71-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-fips-7.72-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-fips-7.73-core-integrations (Chainguard): \< 7.73.3-r21
- chainguard datadog-agent-fips-7.74-core-integrations (Chainguard): \< 7.74.1-r26

## References

- <https://github.com/jpadilla/pyjwt/security/advisories/GHSA-jq35-7prp-9v3f>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-48523>
- <https://github.com/jpadilla/pyjwt>
- <https://github.com/pypa/advisory-database/tree/main/vulns/pyjwt/PYSEC-2026-176.yaml>
- <https://ubuntu.com/security/CVE-2026-48523>
- <https://www.cve.org/CVERecord?id=CVE-2026-48523>
- <https://github.com/jpadilla/pyjwt/commit/95791b1759b8aa4f2203575d344d5c78564cdc81>
- <https://ubuntu.com/security/notices/USN-8823-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-48523>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48523.json>

---

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