CVE-2026-56274
published high CVSS 4.0 · 8.7Flowise - Remote Code Execution via MCP Security Bypass in validateCommandFlags and validateArgsForLocalFileAccess
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Flowise | — | Flowise0 to < 3.1.2 (affected · semver) · 3.1.2 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| Flowise | — | Flowise Components0 to < 3.1.2 (affected · semver) · 3.1.2 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.9 | critical | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Flowise | Flowise | 0 to < 3.1.2 (affected · semver)3.1.2 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| Flowise | Flowise Components | 0 to < 3.1.2 (affected · semver)3.1.2 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
2- GitHub Security Advisory (GHSA-m99r-2hxc-cp3q) https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-m99r-2hxc-cp3q
- VulnCheck Advisory: Flowise - Remote Code Execution via MCP Security Bypass in validateCommandFlags and validateArgsForLocalFileAccess https://www.vulncheck.com/advisories/flowise-remote-code-execution-via-mcp-security-bypass-in-validatecommandflags-and-validateargsforlocalfileaccess
Provider assertions
2VulnCheck · cna
Flowise - Remote Code Execution via MCP Security Bypass in validateCommandFlags and validateArgsForLocalFileAccess
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cf21cfb5fa319a5e5855de7b34996ab3beeeb283a2b9b00ac2776b7021b051e4
- Ingested
- 23 Sep 2026, 09:21:21 UTC
- Source record
- Official CVE record