CRITICAL

CVE-2026-56274: Critical OS Command Injection in Flowise

Published: June 24, 2026 | CVSS 9.9 (Critical) | Unpatched
9.9
CVSS 3.1 Base Score — Critical
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Summary

A critical OS command injection vulnerability has been discovered in Flowise, the popular open-source AI agent and LLM workflow orchestration platform. The flaw exists in the Custom MCP Server feature and allows authenticated attackers to achieve remote code execution on the host system.

Affected Versions

All versions of Flowise before 3.1.2 are vulnerable.

Technical Details

The vulnerability resides in Flowise's Custom MCP (Model Context Protocol) node, which allows users to configure stdio MCP servers that launch as child processes. Two validation mechanisms are bypassed:

An attacker with a Flowise account (any role) or API access with view/update permissions for chatflows can configure a malicious MCP server to execute arbitrary commands on the Flowise host server.

✓ UPDATE: FIX AVAILABLE
Flowise 3.1.2 includes a fix for this vulnerability. View Advisory →

Mitigation Guidance

Until a patched version is released, organizations running Flowise should:

  1. Disable the Custom MCP Server feature if not in active use
  2. Restrict API access to trusted users and IP ranges
  3. Monitor for unusual child processes spawned by the Flowise service
  4. Apply network segmentation to limit the blast radius

This is the third command-injection CVE targeting the same Custom MCP feature this year, following CVE-2026-40933 (CVSS 9.9) and CVE-2025-59528 (CVSS 10.0). Each fix narrowed the attack surface incrementally, and each time researchers found a new bypass.

References

☕ Support security research - Buy me a coffee