SCA: security update for fast-jwt (GHSA-3j8v-cgw4-2g6q)

medium Tenable Cloud Security Plugin ID 440124

Description

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

- fast-jwt provides fast JSON Web Token (JWT) implementation. Prior to 6.2.1, using certain modifiers on
RegExp objects in the allowedAud, allowedIss, allowedSub, allowedJti, or allowedNonce options in verify
functions can cause certain unintended behaviours. This is because some modifiers are stateful and will
cause failures in every second verification attempt regardless of the validity of the token provided. Such
modifiers are /g (global matching) and /y (sticky matching). This does NOT allow invalid tokens to be
accepted, only for valid tokens to be improperly rejected in some configurations. Instead it causes 50% of
valid authentication requests to fail in an alternating pattern. This vulnerability is fixed in 6.2.1.
(CVE-2026-35040)

Solution

Update the fast-jwt library and its related packages to version 6.2.1 or later.

See Also

https://github.com/advisories/GHSA-3j8v-cgw4-2g6q

Plugin Details

Severity: Medium

ID: 440124

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 4/9/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-35040

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: 4/9/2026

Vulnerability Publication Date: 4/9/2026

Reference Information

CVE: CVE-2026-35040