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
| Vendor | Product | Affected 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.
References
- https://www.vulncheck.com/advisories/flowise-remote-code-execution-via-mcp-secur... Third Party Advisory
- https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-m99r-2hxc-cp3q Exploit Third Party Advisory
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker full control
Type
CWE-78OS Command Injection
Timeline
Published23 Jun 2026
Updated15 Oct 2026
First seen29 Sep 2026
Sources
CVE-2026-56274 · NVD
Track software like this
Free during beta