Skip to main content
← All vulnerabilities
CVE-2026-56274GHSA-M99R-2HXC-CP3Q

Flowise - Remote Code Execution via MCP Security Bypass in validateCommandFlags and validateArgsForLocalFileAccess

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.1.2
1 Metasploit module
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Flowise Flowise

    fixed in 3.1.2

  • Flowise Flowise Components

    fixed in 3.1.2

  • flowisenpm

    fixed in 3.1.2

  • flowise-componentsnpm

    fixed in 3.1.2

References 3

GitHub · FlowiseAI/Flowise

vulncheck.com

GitHub · rapid7/metasploit-framework