Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
8.7

CVE-2026-56274: Flowise before 3.1.2 contains multiple OS command injection vulnerabilities in the Custom MCP Server feature due to incomplete command-flag validation and a regex bypass in local file access restri...

CVE-2026-56274 · published 4 months ago
Summary

Flowise before 3.1.2 contains multiple OS command injection vulnerabilities in the Custom MCP Server feature due to incomplete command-flag validation and a regex bypass in local file access restrictions. An attacker with a Flowise account of any role, or API access with view/update permissions for ...

What to do
  • Update flowiseai flowise to version 3.1.2 or later.
Affected software
VendorProductAffected versions
flowiseai flowise < 3.1.2
cpe:2.3:a:flowiseai:flowise:*:*:*:*:*:*:*:*
Original advisory text
Flowise before 3.1.2 contains multiple OS command injection vulnerabilities in the Custom MCP Server feature due to incomplete command-flag validation and a regex bypass in local file access restri...
Flowise before 3.1.2 contains multiple OS command injection vulnerabilities in the Custom MCP Server feature due to incomplete command-flag validation and a regex bypass in local file access restrictions. An attacker with a Flowise account of any role, or API access with view/update permissions for chatflows, can configure a malicious MCP server to bypass the validateCommandFlags blocklist (for example, 'docker build' is not blocked, and 'npx --yes' is not blocked while only '-y' is) and the validateArgsForLocalFileAccess checks, resulting in execution of arbitrary commands on the Flowise host.
Fix within
Internet-facing 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker full control
Severity
8.7 High
Exploitation
8% chance of attack within 30 days
Type
CWE-78OS Command Injection
Timeline
Published23 Jun 2026
Updated15 Oct 2026
First seen29 Sep 2026
Sources
Track software like this
Free during beta