Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-48522

published medium CVSS 3.1 · 4.2

PyJWKClient: missing scheme allowlist enables SSRF + token forgery via file://, ftp://, data: schemes

Published
28 May 2026, 15:00:30 UTC
Updated
02 Jun 2026, 15:47:49 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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 / vendorReleasePackage / productPublisher statusFixed buildSource
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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

17

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.

Affected vendor and product assertions
VendorProductVersion statusSource
jpadilla pyjwt < 2.13.0 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-441 CWE-441: Unintended Proxy or Intermediary ('Confused Deputy') (GitHub_M · cna)
  • CWE-918 CWE-918: Server-Side Request Forgery (SSRF) (GitHub_M · cna)

References

1

Provider assertions

2

GitHub_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

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected