Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
UnratedPublic exploit

OS Command Injection in Flowise Custom MCP Server

IdentifiersCVE-2026-56274CWE-78

CVE-2026-56274 affects Flowise before 3.1.2 in the Custom MCP Server feature. The vulnerability consists of multiple OS command injection flaws caused by incomplete command-flag validation in the validateCommandFlags logic and a regex bypass in validateArgsForLocalFileAccess. According to the provided content, an attacker can configure a malicious MCP server and bypass intended restrictions because certain dangerous command patterns are not blocked, including examples such as 'docker build' not being denied and 'npx --yes' bypassing checks that only block '-y'. By abusing these validation weaknesses, an attacker can cause arbitrary operating system commands to be executed on the Flowise host.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation results in arbitrary command execution on the Flowise host. This can allow an attacker to fully compromise the affected Flowise instance and the underlying server context available to the Flowise process, including theft or modification of data, tampering with chatflows or application state, installation of additional tooling or malware, service disruption, and potential lateral movement depending on host privileges and network reachability.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, restrict or disable use of the Custom MCP Server feature where feasible, tightly limit which users and API clients can view or update chatflows, review MCP server configurations for suspicious commands or flags, and monitor Flowise hosts for unexpected process execution. Reducing chatflow management permissions and preventing untrusted users from configuring MCP servers will reduce exposure until the upgrade can be applied.

Remediation

Patch, then assume compromise.

Upgrade Flowise to version 3.1.2 or later. The provided content indicates the issue is fixed after versions prior to 3.1.2. In addition, review and harden validation around Custom MCP Server configuration, especially command/flag allowlisting and local file access argument validation, and audit existing MCP server definitions for malicious or unexpected command parameters.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity1

Community discussion across Reddit, Mastodon, and other social sources.

OS Command Injection in Flowise Custom MCP Server (CVE-2026-56274) | Mallory