Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-48522

python-pyjwt: PyJWT: Server-Side Request Forgery (SSRF) via uncontrolled URL fetching in PyJWKClient

Overview

Published
28 May 2026
Modified
26 Oct 2026
Medium CVE
3 Registry packages
134 OS packages
14 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

4.2 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N

Weakness: CWE-441, CWE-918

Affected packages · 3

Packages affected by CVE-2026-48522
EcosystemPackageVulnerableFixed in
PyPI pyjwt >=2.0.0, <2.13.0 2.13.0
Seal PyPI pyjwt >=2.11.0+sp0, <2.11.0+sp2>=2.2.0+sp0, <2.2.0+sp999>=2.3.0+sp0, <2.3.0+sp999>=2.9.0+sp0, <2.9.0+sp999 2.11.0+sp22.2.0+sp9992.3.0+sp9992.9.0+sp999
Seal PyPI seal-pyjwt >=2.11.0+sp1, <2.11.0+sp2>=2.2.0+sp1z1, <2.2.0+sp999>=2.3.0+sp1, <2.3.0+sp999>=2.9.0+sp1, <2.9.0+sp999 2.11.0+sp22.2.0+sp9992.3.0+sp9992.9.0+sp999

Open a package to see all its vulnerabilities.

Operating systems · 100 fixes

Azure Linux 1 release · 1 package

fixed 1
python-jwt
Azure Linux fixes for CVE-2026-48522
ReleasePackageFixed in
3.0 python-jwt 0:2.13.0-1.azl3

Photon OS 1 release · 1 package

fixed 1
python3-pyjwt
Photon OS fixes for CVE-2026-48522
ReleasePackageFixed in
5.0 python3-pyjwt 2.8.0-5.ph5

Red Hat 3 releases · 2 packages

affected 3
python-pyjwt fence-agents
Red Hat fixes for CVE-2026-48522
ReleasePackageFixed in
7 python-pyjwt +1 affected
7 (satellite:el8) python-pyjwt +1 affected
9 fence-agents +56 affected

SUSE Linux Enterprise 5 releases · 3 packages

fixed 9
python3-pyjwt python311-pyjwt python313-pyjwt
SUSE Linux Enterprise fixes for CVE-2026-48522
ReleasePackageFixed inAdvisory
15.4 python3-pyjwt 2.4.0-150200.3.14.1 SUSE-SU-2026:2627-1
15.4 python311-pyjwt 2.8.0-150400.8.13.1 SUSE-SU-2026:2626-1
15.5 python3-pyjwt 2.4.0-150200.3.14.1 SUSE-SU-2026:2627-1
15.5 python311-pyjwt 2.8.0-150400.8.13.1 SUSE-SU-2026:2626-1
15.6 python3-pyjwt 2.4.0-150200.3.14.1 SUSE-SU-2026:2627-1
15.6 python311-pyjwt 2.8.0-150400.8.13.1 SUSE-SU-2026:2626-1

3 more rows

SUSE Linux Enterprise Micro 4 releases · 3 packages

fixed 4
python3-pyjwt python311-pyjwt python313-pyjwt
SUSE Linux Enterprise Micro fixes for CVE-2026-48522
ReleasePackageFixed inAdvisory
5.5 python3-pyjwt 2.4.0-150200.3.14.1 SUSE-SU-2026:2627-1
6.0 python311-pyjwt 2.9.0-3.1 SUSE-SU-2026:22238-1
6.1 python311-pyjwt 2.12.1-slfo.1.1_2.1 SUSE-SU-2026:22138-1
6.2 python313-pyjwt 2.12.1-160000.2.1 SUSE-SU-2026:22220-1

amazon linux 1 release · 1 package

fixed 1
python3-jwt
amazon linux fixes for CVE-2026-48522
ReleasePackageFixed in
2023 python3-jwt +1 2.4.0-1.amzn2023.0.5

chainguard 1 release · 52 packages

fixed 52
kserve ggshield litellm openstack-placement-2025-1-fips openstack-placement-2025-1 openstack-placement-2025-2-fips +46
chainguard fixes for CVE-2026-48522
ReleasePackageFixed in
kserve 0.20.0-r7
ggshield 1.52.2-r1
litellm 1.89.0-r4
openstack-placement-2025-1-fips 13.0.0_git20260617-r1
openstack-placement-2025-1 13.0.0_git20260617-r2
openstack-placement-2025-2-fips 14.0.0_git20260309-r1

46 more rows

debian 3 releases · 1 package

affected 2 fixed 1
pyjwt
debian fixes for CVE-2026-48522
ReleasePackageFixed in
12 pyjwt affected
13 pyjwt affected
14 pyjwt 2.13.0-1

echo 1 release · 1 package

fixed 1
pyjwt
echo fixes for CVE-2026-48522
ReleasePackageFixed in
pyjwt 2.13.0-1

minimos 1 release · 11 packages

fixed 11
kserve vllm-cu130 vllm-cu129 cassandra-medusa label-studio acapy-agent-1-6 +5
minimos fixes for CVE-2026-48522
ReleasePackageFixed in
kserve 0.20.0-r0
vllm-cu130 0.21.0-r2
vllm-cu129 0.21.0-r3
cassandra-medusa 0.30.0-r0
label-studio 1.23.1-r0
acapy-agent-1-6 1.6.1-r0

5 more rows

openSUSE 1 release · 1 package

fixed 1
python311-pyjwt
openSUSE fixes for CVE-2026-48522
ReleasePackageFixed inAdvisory
Tumbleweed python311-pyjwt +2 2.13.0-1.1 openSUSE-SU-2026:11024-1

openSUSE Leap 1 release · 1 package

fixed 1
python313-pyjwt
openSUSE Leap fixes for CVE-2026-48522
ReleasePackageFixed inAdvisory
16.0 python313-pyjwt 2.12.1-160000.2.1 openSUSE-SU-2026:21095-1

ubuntu 3 releases · 1 package

fixed 3
pyjwt
ubuntu fixes for CVE-2026-48522
ReleasePackageFixed in
22.04 pyjwt 2.3.0-1ubuntu0.4
24.04 pyjwt 2.7.0-1ubuntu0.2
26.04 pyjwt 2.10.1-4ubuntu1.1

wolfi 1 release · 9 packages

fixed 9
kserve ggshield superset-6-0 superset-6-1 datadog-agent-7-73 datadog-agent-7-77 +3
wolfi fixes for CVE-2026-48522
ReleasePackageFixed in
kserve 0.20.0-r7
ggshield 1.52.2-r1
superset-6-0 6.0.0-r17
superset-6-1 6.1.0-r2
datadog-agent-7-73 7.73.3-r23
datadog-agent-7-77 7.77.3-r16

3 more rows

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.