<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Flowise (&lt;= 3.1.2) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/flowise--3.1.2/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Tue, 04 Aug 2026 17:24:33 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/flowise--3.1.2/feed.xml" rel="self" type="application/rss+xml"/><item><title>Flowise Unauthenticated RCE via Environment Variable Bypass</title><link>https://feed.craftedsignal.io/briefs/2026-08-flowise-rce/</link><pubDate>Tue, 04 Aug 2026 17:24:33 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-flowise-rce/</guid><description>Flowise v3.1.2 and earlier are vulnerable to unauthenticated remote code execution because the CVE-2025-8943 patch relies on an incomplete environment variable blocklist, allowing attackers to inject configuration variables that force arbitrary package installation.</description><content:encoded><![CDATA[<p>Flowise (v3.1.2 and earlier) contains a critical security flaw involving an incomplete environment variable blocklist, identified as CVE-2026-69263. This vulnerability allows an attacker to bypass the intended security controls for the Model Context Protocol (MCP) server configuration, specifically those established in the previous CVE-2025-8943 patch. While the original patch successfully filtered dangerous CLI flags like <code>-y</code> for <code>npx</code>, it failed to account for <code>npm</code> configuration that can be passed via environment variables (e.g., <code>npm_config_yes</code>).</p>
<p>Because Flowise defaults to an unauthenticated state, a remote attacker can interact with the API to register a malicious MCP server. By including specific environment variables in the configuration, an attacker can influence the behavior of <code>npx</code>, <code>node</code>, or <code>python3</code> to achieve remote code execution. This is a classic case of incomplete denylisting, where developers attempted to enumerate dangerous inputs rather than implementing a secure allowlist, leaving the environment vulnerable to various configuration injection vectors.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker discovers an internet-facing, unauthenticated Flowise instance.</li>
<li>Attacker interacts with the Flowise API to create or update an MCP server configuration.</li>
<li>Attacker crafts a JSON payload containing the <code>mcpServers</code> object with a command like <code>npx</code>.</li>
<li>Attacker inserts environment variables such as <code>npm_config_yes=true</code> into the <code>env</code> field of the payload.</li>
<li>Flowise validation logic (<code>validateCommandFlags</code>) is bypassed because the CLI flags are clean.</li>
<li>Flowise validation logic (<code>validateEnvironmentVariables</code>) is bypassed because the blocklist only contains four hardcoded entries (PATH, LD_LIBRARY_PATH, DYLD_LIBRARY_PATH, NODE_OPTIONS).</li>
<li>Flowise spawns the <code>npx</code> process, which reads the injected environment variable and proceeds with automatic package installation.</li>
<li>Malicious code is executed under the privileges of the Flowise process, resulting in full system compromise.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation results in unauthenticated remote code execution on the server running Flowise. Given the tool's nature as an LLM integration platform, successful compromise often grants an attacker access to connected sensitive data, API keys for AI providers, and internal network resources. All versions up to and including 3.1.2 are confirmed to be vulnerable.</p>
<h2 id="recommendation">Recommendation</h2>
<ol>
<li>Upgrade to a version of Flowise that implements an allowlist-based validation approach for environment variables rather than a denylist.</li>
<li>Implement strict authentication on all Flowise API endpoints to prevent unauthenticated access to configuration interfaces.</li>
<li>Restrict outbound network access for the server running Flowise to prevent the automatic installation of arbitrary npm/pip packages from the internet.</li>
<li>Ensure that the service account running the Flowise process operates with the principle of least privilege, minimizing the damage from a successful code execution event.</li>
</ol>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>rce</category><category>injection</category><category>flowise</category><category>cve-2026-69263</category><category>python-injection</category><category>authentication-bypass</category><category>oauth</category><category>cve-2026-70478</category><category>web-vulnerability</category><category>broken-access-control</category><category>oauth2</category><category>arbitrary-file-write</category><category>path-traversal</category><category>privilege-escalation</category><category>web-application</category><category>secrets-disclosure</category></item><item><title>FlowiseAI Flowise CSV Agent Prompt Injection RCE Vulnerability</title><link>https://feed.craftedsignal.io/briefs/2024-01-flowise-rce/</link><pubDate>Tue, 02 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-flowise-rce/</guid><description>A remote code execution vulnerability exists in FlowiseAI Flowise version 3.0.13 due to insufficient sandboxing when evaluating LLM-generated Python scripts, allowing unauthenticated attackers to inject malicious code via prompts processed by the CSV Agent node, bypassing input validation, to execute arbitrary OS commands.</description><content:encoded><![CDATA[<p>FlowiseAI Flowise, a low-code tool for building customized large language model (LLM) applications, is vulnerable to remote code execution. Specifically, version 3.0.13 and earlier are affected. The vulnerability, identified by Trend Micro's Zero Day Initiative, stems from a lack of proper sandboxing when evaluating LLM-generated Python scripts within the <code>run</code> method of the <code>CSV_Agents</code> class. An unauthenticated attacker can exploit this vulnerability by injecting malicious code into prompts processed by the CSV Agent node, bypassing input validation to execute arbitrary OS commands on the server. Successful exploitation allows an attacker to execute code in the context of the user running the Flowise server. This impacts the confidentiality, integrity, and availability of the Flowise instance and the underlying system. The attack targets installations of Flowise on platforms like Ubuntu 25.10.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker crafts a malicious prompt designed to exploit the CSV Agent node in Flowise.</li>
<li>The attacker sends the crafted prompt to a chatflow that utilizes the vulnerable CSV Agent node.</li>
<li>The <code>run</code> method of the <code>CSV_Agents</code> class is invoked, processing the attacker-supplied prompt.</li>
<li>The system prompt, including the user's injected payload, is sent to an LLM to generate a Python script.</li>
<li>The LLM generates a Python script containing malicious code, bypassing the <code>FORBIDDEN_PATTERNS</code> validation (e.g., importing <code>os</code> with an alias).</li>
<li>The generated Python code, including the injected malicious commands (e.g., <code>pandas.system(&quot;xcalc&quot;)</code>), is executed within a pyodide environment, lacking sufficient sandboxing.</li>
<li>The attacker-controlled command is executed on the Flowise server, in the context of the user running the server.</li>
<li>The attacker achieves arbitrary code execution, potentially leading to system compromise, data exfiltration, or denial of service.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows an unauthenticated attacker to execute arbitrary code on the Flowise server. This can lead to a full system compromise, allowing the attacker to steal sensitive data, install malware, or disrupt services. Given Flowise's role in LLM application development, a successful attack could compromise sensitive data used by these models, or introduce malicious functionality into the models themselves. The number of affected installations is unknown, but any Flowise instance running version 3.0.13 or earlier with the CSV Agent node exposed is potentially vulnerable.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade Flowise to a patched version greater than 3.0.13 to remediate CVE-2026-41264.</li>
<li>Deploy the Sigma rule &quot;Detect Suspicious Flowise CSV Agent Execution&quot; to detect attempts to exploit this vulnerability via process creation from unexpected locations.</li>
<li>Review and harden the <code>FORBIDDEN_PATTERNS</code> list in the <code>validatePythonCodeForDataFrame()</code> function to prevent bypasses, referencing the details in the overview.</li>
<li>Monitor network connections originating from the Flowise server for suspicious outbound traffic using the &quot;Detect Outbound Connection from Flowise Server&quot; Sigma rule.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>flowise</category><category>rce</category><category>prompt-injection</category></item></channel></rss>