SCA: security update for fast-jwt (GHSA-cjw9-ghj4-fwxf)

medium Tenable Cloud Security Plugin ID 440125

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. From 5.0.0 to 6.2.0, a denial-of-service
condition exists in fast-jwt when the allowedAud verification option is configured using a regular
expression. Because the aud claim is attacker-controlled and the library evaluates it against the supplied
RegExp, a crafted JWT can trigger catastrophic backtracking in the JavaScript regex engine, resulting in
significant CPU consumption during verification. This vulnerability is fixed in 6.2.1. (CVE-2026-35041)

Solution

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

See Also

https://github.com/advisories/GHSA-cjw9-ghj4-fwxf

Plugin Details

Severity: Medium

ID: 440125

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 4/9/2026

Updated: 6/1/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.73

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS Score Source: CVE-2026-35041

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.9

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

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