SCA: security update for pyjwt (GHSA-w7vc-732c-9m39)

medium Tenable Cloud Security Plugin ID 443265

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.8.0 to 2.12.1, when verifying detached JWS
tokens using the unencoded-payload option ("b64": false, RFC 7797), PyJWT performs Base64URL decoding of
the compact-serialization payload segment before enforcing the detached-payload rules. For b64=false,
PyJWT later discards that decoded payload and replaces it with the caller-provided detached_payload. In
practice, this turns the middle segment into an attacker-controlled “work amplifier”: a remote client can
supply an arbitrarily large Base64URL payload segment that forces CPU work + memory allocations even if
the signature is invalid. This creates an unauthenticated DoS vector against any endpoint that verifies
detached JWS using PyJWT. This vulnerability is fixed in 2.13.0. (CVE-2026-48525)

Solution

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

See Also

https://github.com/advisories/GHSA-w7vc-732c-9m39

Plugin Details

Severity: Medium

ID: 443265

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

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

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

CVSS Score Source: CVE-2026-48525

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.8

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

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-48525

cwe: CWE-400