FlowiseAI < 3.0.6 Code Injection Vulnerability

critical Nessus Plugin ID 384253

Synopsis

The FlowiseAI installation on the remote host is affected by a code injection vulnerability.

Description

The version of Flowise AI installed on the remote host is before version 3.0.6. It is, therefore, affected by a code injection vulnerability:

- The CustomMCP node allows users to input configuration settings for connecting to an external MCP (Model Context Protocol) server. This node parses the user-provided mcpServerConfig string to build the MCP server configuration. However, during this process, it executes JavaScript code without any security validation. Specifically, inside the convertToValidJSONString function, user input is directly passed to the Function() constructor, which evaluates and executes the input as JavaScript code. Since this runs with full Node.js runtime privileges, it can access dangerous modules such as child_process and fs.
(CVE-2025-59528)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade FlowiseAI to version 3.0.6 or later.

See Also

http://www.nessus.org/u?2a47f285

http://www.nessus.org/u?368fbe27

Plugin Details

Severity: Critical

ID: 384253

File Name: flowiseai_CVE-2025-59528.nasl

Version: 1.1

Type: Local

Agent: windows, macosx, unix

Published: 11/20/2026

Updated: 11/20/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 8

Percentile: 99.7

CVSS v2

Risk Factor: Critical

Base Score: 10

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

CVSS Score Source: CVE-2025-59528

CVSS v3

Risk Factor: Critical

Base Score: 10

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

Vulnerability Information

CPE: cpe:/a:flowiseai:flowise

Required KB Items: Host/nodejs/modules/enumerated

Patch Publication Date: 9/13/2025

Vulnerability Publication Date: 9/13/2025

Reference Information

CVE: CVE-2025-59528