Critical severity · published Jun 23, 2026
CVE-2026-56274
Flowise - Remote Code Execution via MCP Security Bypass in validateCommandFlags and validateArgsForLocalFileAccess
9.9
CVSS
7.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)7.5% · higher than 94% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FL
Flowise · Flowise
before 3.1.2 · source: vendor, NVD
FC
Flowise Components · Flowise
before 3.1.2 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-56274
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-56274
Exploit
https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-m99r-2hxc-cp3q
Third Party Advisory
https://www.vulncheck.com/advisories/flowise-remote-code-execution-via-mcp-security-bypass-in-validatecommandflags-and-validateargsforlocalfileaccess
More from Flowise
9.8
CVE-2026-56271
Flowise - Weak Default JWT Secrets in Authentication Middleware
9.8
CVE-2025-71338
Flowise through 2.2.7 - Arbitrary File Write to Remote Code Execution via document-store API
9.8
CVE-2025-71336
Flowise - Unsandboxed Remote Code Execution via Custom MCP
9.8
CVE-2025-71334
Flowise - Arbitrary File Access via Missing Chat Flow ID Validation
9.8
CVE-2025-71333
Flowise - Arbitrary File Upload via Unauthenticated /api/v1/attachments Endpoint
