CVE-2026-48522: jpadilla pyjwt Confused Deputy
Vulnerability summary
CVE-2026-48522 is a medium (CVSS 4.2) Confused Deputy vulnerability in jpadilla pyjwt. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 11.7% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 9 · Related 10Timeline
- 28-05-2026PublishedVulnerability first disclosed.
- 02-06-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · PypiEcosystem advisory · calculated4.2MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
- OSV · UbuntuEcosystem advisory · calculated4.2MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated4.2MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
- OSV · WolfiEcosystem advisory · calculated4.2MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated4.2MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
- NVDNIST4.2MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.22%
Chance of exploitation in the next 30 days
Percentile
12%
Versus all other CVEs
30-day change
0.00 pp
From 0.22% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundPyjwt
Maturity: poc
Weaknesses
CWE · root cause- CWE-441Unintended Proxy or Intermediary ('Confused Deputy')The product receives a request, message, or directive from an upstream component, but the product does not sufficiently preserve the original source of the request before forwarding the request to an external actor that is outside of the product's control sphere. This causes the product to appear to be the source of the request, leading it to act as a proxy or other intermediary between the upstream component and the external actor.
- CWE-918Server-Side Request Forgery (SSRF)The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
Affected systems
Chainguard65 products
- airflow-2< 2.11.2-r25
- airflow-core-2< 2.11.2-r10
- airflow-core-3< 3.2.2-r5
- airflow-postgres-fips-3< 3.2.2-r3
- awx< 24.6.1-r41
Wolfi17 products
- datadog-agent-7.72-core-integrationsAll versions (No fix recorded)
- datadog-agent-7.73-core-integrations< 7.73.3-r23
- datadog-agent-7.74-core-integrations< 7.74.1-r24
- datadog-agent-7.75-core-integrationsAll versions (No fix recorded)
- datadog-agent-7.76All versions (No fix recorded)
Debian1 product
- pyjwtAll versions (No fix recorded) | < 2.13.0-1
Jpadilla1 product
- pyjwt< 2.13.0
Pyjwt_project1 product
- pyjwt< 2.13.0
PyPI1 product
- pyjwt≥ 2.0.0, < 2.13.0 | < 2.13.0
Ubuntu1 product
- pyjwt< 2.3.0-1ubuntu0.4 | < 2.7.0-1ubuntu0.2 | All versions (No fix recorded) | < 2.10.1-4ubuntu1.1
7 vendors · 87 products
References
11 links- github.com/jpadilla/pyjwt/security/advisories/GHSA-993g-76c3-p5m4X Refsource CONFIRMWEBEVIDENCEREPORTAdvisoryExploitMitigationVendor Advisory
- github.com/jpadilla/pyjwtPACKAGE