<?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>Python-Injection - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/python-injection/</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/tags/python-injection/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></channel></rss>