Vulnerability
CVE-2026-48522
PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, PyJWKClient passes its uri argument directly to urllib.request.urlopen() which uses Python stdlib's default OpenerDirector registering HTTPHandler, HTTPSHandler, FTPHandler, FileHandler, and DataHandler. There is currently no documented option to restrict which schemes PyJWKClient will fetch. If an application's jku URL ingestion path accepts attacker-influenced URLs (e.g., from JWT header, configuration file, OAuth flow parameter), the attacker can cause PyJWKClient to read arbitrary local files via file:// (SSRF on local filesystem), cause PyJWKClient to attempt FTP / data-URI fetches (broader SSRF surface), or forge tokens that PyJWT verifies as valid. The library does not directly return non-HTTP(S) URI contents to the attacker; the chained "plant a JWKS to forge tokens" scenario described in the original report requires additional application-layer flaws (attacker write access to a filesystem path, untrusted jku derivation) that this fix does not address. This vulnerability is fixed in 2.13.0.
144 advisories report this vulnerability, across 10 ecosystems.
Advisories
-
ALAS2023-2026-2051
Amazon Linux 2023 - ALAS2023-2026-2051: Medium priority package update for python-jwt
-
AZL-93036
CVE-2026-48522 affecting package python-jwt for versions less than 2.13.0-1
- CGA-22xv-mp52-x5g7
- CGA-2652-hqj6-9h9c
- CGA-26xh-p763-gp82
- CGA-277r-5q8m-jgm2
- CGA-2798-3mpw-m73x
- CGA-27c3-hhq4-hvp3
- CGA-299v-9php-prxc
- CGA-29w2-rj29-fmpw
- CGA-2hfv-hrf4-hw63
- CGA-2m2q-w377-q5p3
- CGA-2vv8-45hh-48wf
- CGA-2w87-67x4-vq65
- CGA-3246-qcqc-4hr9
- CGA-35gq-c99h-43gp
- CGA-3h2r-96m6-f8pf
- CGA-3hq5-gfhx-vw87
- CGA-3jcw-g9rp-6m7w
- CGA-3wvh-48p4-w7r5
- CGA-439f-xqvp-qjp9
- CGA-4f79-v8cc-x4vm
- CGA-4g2v-mj25-mq7w
- CGA-4g58-fv36-3jpp
- CGA-4gfc-9r4c-gfq9
- CGA-4p8h-qp6p-756r
- CGA-4r38-qpg5-w9c9
- CGA-4w6f-jxm6-rhp9
- CGA-59p4-chhx-jq9j
- CGA-5chj-94qm-3gmw
- CGA-5g28-52mx-vmxg
- CGA-5ghg-h4j3-x88x
- CGA-5h2h-72pg-3r8x
- CGA-5j79-3cm2-j7xm
- CGA-5x5v-44qf-hvvj
- CGA-6289-pjv3-7m8g
- CGA-64g3-c3q4-36h4
- CGA-6c8r-8fgx-37pm
- CGA-6g29-gvvp-mv2x
- CGA-6w3w-qqr5-q6rm
- CGA-6x2x-9v5j-m76v
- CGA-75h8-whgv-7v2f
- CGA-787x-rjmf-m8q8
- CGA-7h58-pw92-wj6p
- CGA-87j7-x28j-c72w
- CGA-89xr-mh5m-cc39
- CGA-8f93-6755-5w8m
- CGA-8fmf-m9m2-3474
- CGA-8jpj-wf65-7j8f
- CGA-9839-h9w9-2jx8
- CGA-9j22-x32g-h74w
- CGA-9pwh-gcp4-6pg8
- CGA-9wq4-3qwx-9r92
- CGA-c69r-mccq-wqxp
- CGA-cfx6-63jg-crxj
- CGA-cm76-mrmc-5q32
- CGA-cmv2-36q9-29xr
- CGA-crgp-c6rh-6cjf
- CGA-cwmg-vm46-rm2r
- CGA-cx2g-frqg-r4f5
- CGA-f3mq-xp68-6grr
- CGA-f458-qh7j-p5w4
- CGA-f637-fqjf-vwjj
- CGA-f99h-5h93-62wq
- CGA-ff3m-gm5w-36xj
- CGA-fg6j-rc8r-wmm8
- CGA-fggw-hmjr-fh4h
- CGA-fvp7-cxhm-856r
- CGA-fwfg-9wcr-92h2
- CGA-fxc5-pqmx-4r98
- CGA-g22m-3xwj-6c3g
- CGA-g22p-wghm-mpxh
- CGA-g2p8-x8xv-3hhq
- CGA-g3gp-7hj8-57pm
- CGA-g5rw-3mr6-v69j
- CGA-gghr-vgf5-64f7
- CGA-ghm4-8gf5-r3p5
- CGA-gmxv-9v7q-hf55
- CGA-h325-q7hm-f7jg
- CGA-hmv3-9gvj-hw5q
- CGA-hpc5-3ww3-q6fv
- CGA-hr75-7hj2-gq4j
- CGA-hv73-4jpw-hvmc
- CGA-j6j6-5hvh-r74w
- CGA-j7r2-c97r-jh95
- CGA-j8mw-j945-9x3m
- CGA-j8vx-6wp4-x2jp
- CGA-jmgq-6wvg-4jpc
- CGA-jwrm-8pv6-93hr
- CGA-m53v-6w2q-j98g
- CGA-m5r4-3h3f-c6gh
- CGA-m639-qv8j-wrxr
- CGA-mhwg-m4c6-x546
- CGA-mrxr-h984-wq8j
- CGA-mw39-fp6m-j6h3
- CGA-mwfm-f6j5-p8jv
- CGA-mwmw-957m-xq2w
- CGA-p364-q8pw-f88v
- CGA-pqq4-356v-wxrg
- CGA-prj8-68hc-mw44
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-48522.