SCA: security update for PyJWT (GHSA-993g-76c3-p5m4)

medium Tenable Cloud Security Plugin ID 443249

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-48522)

Solution

Update the PyJWT library and its related packages to version 2.13.0 or later.

See Also

https://github.com/advisories/GHSA-993g-76c3-p5m4

Plugin Details

Severity: Medium

ID: 443249

Version: Revision 1.3

Type: Local

Family: SCA Checks

Published: 6/16/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.1

Percentile: 7.77

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3.1

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2026-48522

CVSS v3

Risk Factor: Medium

Base Score: 4.2

Temporal Score: 3.8

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/15/2026

Vulnerability Publication Date: 5/28/2026

Reference Information

CVE: CVE-2026-48522