| Field | Value |
|---|---|
| CVE / NVD | CVE-2026-56274 |
| Date (index) | 2026-06-23 |
| Affected product (index) | Flowise Custom MCP Server command injection |
| GHSA ID | GHSA-M99R-2HXC-CP3Q |
| OWASP MCP Top 10 (2025) | MCP05 — Command Injection & Execution |
| Published / disclosed | 2026-06-23 |
| Ecosystem | Application (vendor product) |
| Component | Flowise Custom MCP Server command injection |
| EPSS score | 0.026830000 (FIRST EPSS, 2026-06-30) |
| CVSS score | Secondary HIGH — 8.7 CVSS v4.0 |
| CWE | CWE-78 |
| Affected versions | Flowise 0 to < 3.1.2; Flowise Components 0 to < 3.1.2 |
| Fixed versions | 3.1.2 |
| Fix status | Patched |
| Exploit status | Public CVE record; do not mirror weaponized payloads |
| Notes | Added during the 2026-06-24 missing-CVE review from NVD MCP keyword results. Re-check NVD before using this entry for compliance reporting. |
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.
Exposure depends on how the affected MCP server, client, gateway, plugin, or adjacent AI tool is deployed. Prioritize systems reachable by untrusted users or networks, systems that accept attacker-controlled tool arguments, and systems with access to credentials, browsers, cloud APIs, Kubernetes clusters, databases, email, or desktop automation.
Primary mapped weakness: MCP05 — Command Injection & Execution. Confirm the exact CWE and affected code path in the NVD record and upstream advisory before adding exploit-specific detail.
MCP components bridge model output to privileged tools. Vulnerabilities in authentication, scope enforcement, command execution, SSRF validation, secret handling, or tool registration can turn prompt/tool input into host compromise, credential disclosure, unauthorized cloud/database access, or persistent malicious tool execution.
Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory. Do not paste weaponized payloads.
Upgrade to the vendor-fixed version where available. If no fixed version is listed, restrict the affected component to trusted users and trusted networks, disable risky tools, validate tool arguments, and run the service with least-privilege credentials until upstream remediation is confirmed.
If a public PoC exists, prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.
Track NVD references for CVE-2026-56274 and apply the upstream patched release or commit recommended by the vendor/CNA.