PT-2026-44394 · Pypi · Pyjwt

·

CVE-2026-48522

·

Published

2026-05-28

·

Updated

2026-06-25

CVSS v3.1

4.2

Medium

VectorAV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions PyJWT versions prior to 2.13.0
Description PyJWKClient passes the uri argument directly to urllib.request.urlopen(), which utilizes the default OpenerDirector of the Python standard library. This allows the registration of HTTPHandler, HTTPSHandler, FTPHandler, FileHandler, and DataHandler without a documented option to restrict the schemes being fetched. If an application accepts attacker-influenced URLs through the jku ingestion path, such as from a JWT header, configuration file, or OAuth flow parameter, an attacker can perform Server-Side Request Forgery (SSRF). This can lead to reading arbitrary local files via the file:// scheme, attempting FTP or data-URI fetches, or forging tokens that the library verifies as valid.
Recommendations Update to version 2.13.0.

Exploit

Fix

SSRF

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CLEANSTART-2026-AZ09261
CLEANSTART-2026-CQ05396
CLEANSTART-2026-EN66750
CLEANSTART-2026-FT24360
CLEANSTART-2026-MJ28981
CLEANSTART-2026-MR94452
CVE-2026-48522
ECHO-48DD-029F-8278
GHSA-993G-76C3-P5M4
OPENSUSE-SU-2026:11024-1
OPENSUSE-SU-2026:21095-1
PYSEC-2026-175
SUSE-SU-2026:22138-1
SUSE-SU-2026:22170-1
SUSE-SU-2026:22220-1
SUSE-SU-2026:22238-1
SUSE-SU-2026:2626-1
SUSE-SU-2026:2627-1

Affected Products

Pyjwt