PT-2026-51507 · Flowise · Flowise

·

CVE-2026-56274

·

Published

2026-05-14

·

Updated

2026-08-24

CVSS v3.1

9.9

Critical

VectorAV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Flowise versions prior to 3.1.2
Description Multiple OS command injection flaws exist in the Custom MCP Server feature. An attacker with any account role or API access with view/update permissions for chatflows can execute arbitrary commands on the host machine. This is possible through three primary bypass methods:
  1. Incomplete blocklist in the validateCommandFlags() function allows the use of docker build, which can pull remote Dockerfiles and execute instructions to gain host control.
  2. The validateCommandFlags() function blocks the -y flag for npx but fails to block the long alias --yes, allowing the automatic installation and execution of malicious npm packages.
  3. A regex bypass in the validateArgsForLocalFileAccess() function allows absolute paths starting with // to evade Unix absolute path restrictions, enabling the node command to load and execute local files.
Recommendations Update Flowise to version 3.1.2 or later. As a temporary mitigation, restrict access to the Custom MCP Server feature and limit API permissions for chatflow updates.

Exploit

Fix

RCE

Incomplete List of Disallowed Inputs

OS Command Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-56274
GHSA-M99R-2HXC-CP3Q

Affected Products

Flowise