<?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>Cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/cpes/cpe2.3ofedoraprojectfedora35/</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:16 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/cpes/cpe2.3ofedoraprojectfedora35/feed.xml" rel="self" type="application/rss+xml"/><item><title>Flowise Sandbox Escape to Remote Code Execution</title><link>https://feed.craftedsignal.io/briefs/2026-08-flowise-sandbox-escape/</link><pubDate>Tue, 04 Aug 2026 17:24:16 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-flowise-sandbox-escape/</guid><description>Authenticated attackers can exploit an insecure JavaScript sandbox configuration in FlowiseAI to execute arbitrary system commands via a chained injection and path traversal payload.</description><content:encoded><![CDATA[<p>FlowiseAI is vulnerable to a sandbox escape that allows authenticated attackers to achieve Remote Code Execution (RCE). The platform utilizes the <code>patriksimek/vm2</code> library (via the <code>nodevm</code> module) to execute custom user-provided JavaScript code. Despite the library being deprecated due to inherent security flaws, several Flowise components, such as <code>AgentAsTool</code>, continue to invoke this sandbox with <code>useSandbox: false</code> or in insecure configurations.</p>
<p>The vulnerability stems from an injection point within the <code>baseURL</code> parameter of the <code>AgentAsTool</code> node. An attacker can bypass the <code>isValidURL</code> validation function using a hash fragment injection. This is chained with a sandbox escape that leverages a known path traversal flaw in the <code>moment</code> library (<code>CVE-2022-24785</code>). By forcing the <code>moment</code> library to load a malicious file, the attacker can break out of the Node.js sandbox and execute arbitrary commands on the underlying host. The issue persists in Flowise version 3.1.1 and impacts the <code>nodevm</code> package version 3.9.25.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker authenticates to the target Flowise instance and retrieves a valid organization ID and session cookies.</li>
<li>The attacker uses the platform's document loader to upload a malicious JavaScript payload (e.g., a reverse shell) as a file (e.g., <code>rce.js</code>) to the application server.</li>
<li>The attacker initiates an <code>AgentAsTool</code> or similar node configuration within the Flowise workflow interface.</li>
<li>The attacker crafts a malicious <code>baseURL</code> input string containing a hash fragment injection, such as <code>#&quot;;\nfake = new String(&quot;.../tmp/rce.js&quot;); ... //</code>.</li>
<li>The <code>AgentAsTool</code> component fails to sanitize the injected string due to the broken <code>isValidURL</code> implementation and inserts the payload into the sandboxed execution context.</li>
<li>The <code>vm2</code> sandbox executes the injected code, which triggers the <code>moment.locale()</code> bypass to traverse the filesystem and access the uploaded <code>rce.js</code> file.</li>
<li>The <code>child_process</code> module is invoked within the context of the Node.js process to execute the payload.</li>
<li>The final objective is achieved via a reverse shell or arbitrary code execution on the host system.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows an authenticated attacker to execute arbitrary commands on the server hosting the Flowise instance. This leads to full system compromise, potential data exfiltration of internal workflows, and unauthorized access to infrastructure-level resources. Given that Flowise is often used to manage AI agents and sensitive API keys, the impact includes lateral movement within the network and potential compromise of connected third-party SaaS services.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade Flowise to a version where all components explicitly enforce the use of secure, containerized sandboxing (e.g., E2B) rather than the deprecated <code>vm2</code> library.</li>
<li>Audit all code paths utilizing <code>useSandbox: false</code> in Flowise components (specifically <code>AgentAsTool</code>, <code>ChatflowTool</code>, and <code>ExecuteFlow</code>) and transition them to secure isolation mechanisms.</li>
<li>Implement strict input validation for URL fields, ensuring that hash fragments and newline characters are sanitized before being processed in dynamic code generation.</li>
<li>Restrict the <code>node-fetch</code> and <code>moment</code> dependency access within the sandbox environment to prevent access to the local filesystem.</li>
<li>Monitor internal network traffic for unexpected outbound connections from the server hosting Flowise, specifically targeting ports associated with command-and-control (C2) activity (e.g., <code>nc</code> reverse shells).</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category></item></channel></rss>