Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2026-48522
pyjwt project pyjwt

Score4.2 Medium
CVSS 3.1
Exploit probability (EPSS)0.22%
within the next 30 days
CategoryRequest forgery (CSRF / SSRF)
Published28 May 2026
Last modified: 26 October 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, if a user clicks a link, opens a file or similar.

Impact is limited: reading confidential data, modifying data.

Special conditions are required for a successful attack, which makes exploitation harder.

Weakness type: Server-side request forgery (SSRF).

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official 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: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N

Weakness: CWE-441, CWE-918 – Server-side request forgery (SSRF)

Affected products

VendorProductVersions
pyjwt projectpyjwt<2.13.0

Sources

Latest in the same category

  • CVE-2026-133638 Not scored
    Cross-site request forgery (CSRF) vulnerability in Apache Struts. If the application uses the Execute and Wait Interceptor, a request to such an action could cause the Token Interceptor and the Token Session…
    Request forgery (CSRF / SSRF) · 30 November 2026
  • CVE-2026-133636 Not scored
    Origin validation error vulnerability in Apache Struts. The Fetch Metadata Interceptor, which is part of the default interceptor stack, did not enforce its documented resource isolation policy: some cross-site requests…
    Request forgery (CSRF / SSRF) · 30 November 2026
  • CVE-2026-138678 Medium 5.3
    The AIL Framework (ail-project/ail-framework) allowed authenticated users to configure arbitrary outbound HTTP/HTTPS destinations for MISP event export and WebHook notifications. The prior validation only verified that…
    Request forgery (CSRF / SSRF) · 30 November 2026
  • CVE-2026-129004 Medium 4.3
    Cross-Site Request Forgery (CSRF) vulnerability in iHomefinder, Inc. Optima Express optima-express allows Cross Site Request Forgery.This issue affects Optima Express: from n/a through 9.0.2.
    Request forgery (CSRF / SSRF) · 30 November 2026
  • CVE-2026-86549 Not scored
    Cross-Site request forgery (CSRF) vulnerability in Apache OpenMeetings. This issue affects Apache OpenMeetings: from 4.0.0 before 9.2.0. Apache OpenMeetings Docker: from 5.1.0 before 9.2.0. When OAuth2 login is…
    Request forgery (CSRF / SSRF) · 30 November 2026
  • CVE-2026-116089 Medium 5.3
    A server-side request forgery (SSRF) vulnerability exists in baserCMS that may expose information about internal network systems reachable from the affected server.
    Request forgery (CSRF / SSRF) · 30 November 2026