All vulnerabilities

Servers and applications

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

Severity
High 8.7
Published
23 Jun 2026
Last changed
25 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
3.1.2
Exploit chance
7.5% in the next 30 daysHigher than 94% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
OS command injection (CWE-78)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Sources
NVD

Description

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.

From NVD.

Affected software

SoftwareAffected versions
FlowiseServers and applications · cpe:a:flowiseai:flowise
  • Every version before 3.1.2

About Flowise

Build AI Agents, Visually

From its GitHub repository.
Archived
Yes, no longer maintainedGitHub
Weekly downloads (npm)
6,604npm, 15 Nov 2026
Docker Hub pulls
7,390,661Docker Hub, 15 Nov 2026
GitHub stars
55,573GitHub, 15 Nov 2026
Forks
25,094GitHub, 15 Nov 2026
Latest release
[email protected]GitHub, 15 Nov 2026
Released
29 Jul 2026GitHub
First published on GitHub
31 Mar 2023GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-56274
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-56274