SCA: security update for flowise (GHSA-j8g8-j7fc-43v6)

high Tenable Cloud Security Plugin ID 438522

Description

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

- Flowise is a drag & drop user interface to build a customized large language model flow. Prior to version
3.0.13, the /api/v1/attachments/:chatflowId/:chatId endpoint is listed in WHITELIST_URLS, allowing
unauthenticated access to the file upload API. While the server validates uploads based on the MIME types
defined in chatbotConfig.fullFileUpload.allowedUploadFileTypes, it implicitly trusts the client-provided
Content-Type header (file.mimetype) without verifying the file's actual content (magic bytes) or extension
(file.originalname). Consequently, an attacker can bypass this restriction by spoofing the Content-Type as
a permitted type (e.g., application/pdf) while uploading malicious scripts or arbitrary files. Once
uploaded via addArrayFilesToStorage, these files persist in backend storage (S3, GCS, or local disk). This
vulnerability serves as a critical entry point that, when chained with other features like static hosting
or file retrieval, can lead to Stored XSS, malicious file hosting, or Remote Code Execution (RCE). This
issue has been patched in version 3.0.13. (CVE-2026-30821)

Solution

Update the flowise library and its related packages to version 3.0.13 or later.

See Also

https://github.com/advisories/GHSA-j8g8-j7fc-43v6

Plugin Details

Severity: High

ID: 438522

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 3/9/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.88

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2026-30821

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

CVSS v4

Risk Factor: High

Base Score: 8.2

Threat Score: 6.9

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/6/2026

Vulnerability Publication Date: 3/6/2026

Reference Information

CVE: CVE-2026-30821

cwe: CWE-434