CVE-2026-48522
published medium CVSS 3.1 · 4.2PyJWKClient: missing scheme allowlist enables SSRF + token forgery via file://, ftp://, data: schemes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| jpadilla | — | pyjwt< 2.13.0 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2051 | Fixed | Not stated | Amazon Linux assessment |
| Ubuntu | jammy | pyjwt | Advisory build | 2.3.0-1ubuntu0.4 | USN-8823-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-PyJWTnoarch | Advisory build | 2.4.0-150200.3.14.1 | SUSE-SU-2026:2627-1 |
| Amazon Linux | AL2023 | python-jwtnoarch | Listed in advisory | Not stated | ALAS2023-2026-2051 |
| Ubuntu | noble | pyjwt | Advisory build | 2.7.0-1ubuntu0.2 | USN-8823-1 |
| Ubuntu | resolute | pyjwt | Advisory build | 2.10.1-4ubuntu1.1 | USN-8823-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-PyJWTnoarch | Advisory build | 2.8.0-150400.8.13.1 | SUSE-SU-2026:2626-1 |
Show 26 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP5 | python3-PyJWTnoarch | Advisory build | 2.4.0-150200.3.14.1 | SUSE-SU-2026:2627-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-PyJWTnoarch | Advisory build | 2.8.0-150400.8.13.1 | SUSE-SU-2026:2626-1 |
| SUSE / openSUSE | SLE-15-SP6 | python3-PyJWTnoarch | Advisory build | 2.4.0-150200.3.14.1 | SUSE-SU-2026:2627-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-PyJWTnoarch | Advisory build | 2.8.0-150400.8.13.1 | SUSE-SU-2026:2626-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-PyJWTnoarch | Advisory build | 2.4.0-150200.3.14.1 | SUSE-SU-2026:2627-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-PyJWTnoarch | Advisory build | 2.8.0-150400.8.13.1 | SUSE-SU-2026:2626-1 |
| SUSE / openSUSE | SLE-16 | python313-PyJWTnoarch | Advisory build | 2.12.1-160000.2.1 | SUSE-SU-2026:22170-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-PyJWTnoarch | Advisory build | 2.8.0-150400.8.13.1 | SUSE-SU-2026:2626-1 |
| SUSE / openSUSE | SLE-5 | python3-PyJWTnoarch | Advisory build | 2.4.0-150200.3.14.1 | SUSE-SU-2026:2627-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-PyJWTnoarch | Advisory build | 2.12.1-160000.2.1 | OPENSUSE-SU-2026:21095-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-PyJWTaarch64 | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-PyJWTppc64le | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-PyJWTs390x | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-PyJWTx86_64 | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyJWTaarch64 | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyJWTppc64le | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyJWTs390x | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyJWTx86_64 | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-PyJWTaarch64 | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-PyJWTppc64le | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-PyJWTs390x | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-PyJWTx86_64 | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| Ubuntu | jammy | python3-jwt | Advisory build | 2.3.0-1ubuntu0.4 | USN-8823-1 |
| Ubuntu | noble | python3-jwt | Advisory build | 2.7.0-1ubuntu0.2 | USN-8823-1 |
| Ubuntu | resolute | python3-jwt | Advisory build | 2.10.1-4ubuntu1.1 | USN-8823-1 |
| Amazon Linux | AL2023 | python-jwtsrc | Listed in advisory | Not stated | ALAS2023-2026-2051 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.2 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| jpadilla | pyjwt | < 2.13.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-441 CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')
- CWE-918 CWE-918: Server-Side Request Forgery (SSRF)
References
1Provider assertions
2GitHub_M · cna
PyJWKClient: missing scheme allowlist enables SSRF + token forgery via file://, ftp://, data: schemes
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ac1738e270d52cf4ff3a1623939f2cd09aa1ed9413b4c5896ffccc11e8ebf41b
- Ingested
- 23 Sep 2026, 09:17:37 UTC
- Source record
- Official CVE record