SCA: security update for pyjwt (GHSA-jq35-7prp-9v3f)

medium Tenable Self-Hosted Container Security Plugin ID 443251

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. From 2.9.0 to 2.12.1, there is a verifier-side
algorithm allow-list bypass when jwt.decode() or jwt.decode_complete() are called with a PyJWK key. The
token header alg is checked against the caller-supplied algorithms allow-list, but signature verification
is performed with the algorithm bound to the PyJWK object instead of the header algorithm. An attacker who
controls a registered JWK/JWKS private key can sign with a disallowed algorithm, advertise an allowed
algorithm in the JWT header, and still be accepted. The issue affects the documented
PyJWKClient.get_signing_key_from_jwt(...) flow. This vulnerability is fixed in 2.13.0. (CVE-2026-48523)

Solution

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

See Also

https://github.com/advisories/GHSA-jq35-7prp-9v3f

Plugin Details

Severity: Medium

ID: 443251

Version: Revision 1.2

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: 5.5

Temporal Score: 4.3

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

CVSS Score Source: CVE-2026-48523

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/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-48523

cwe: CWE-347