{"id":"CVE-2026-69253","published":"2026-08-04T15:13:39Z","modified":"2026-08-05T14:42:10Z","title":"Flowise Sandbox Escape to RCE","vendor":"FlowiseAI","product":"Flowise","tier":"tail","description":{"text":"Flowise is a drag-and-drop user interface for building customized large language model (LLM) flows. Prior to version 3.1.3, several custom-tool components — AgentAsTool, ChatflowTool, and ExecuteFlow — ran code in the in-process  vm2  sandbox. To build that code, they inserted a user-controlled  baseURL  value straight into the JavaScript source, for example  const url = \"${baseURL}/...\"; . The only check on  baseURL  was  isValidURL , but a valid-looking URL can still contain characters that break out of a code string. An authenticated user could craft a  baseURL  that passed this check, closed the surrounding string, and injected their own JavaScript into the sandboxed script (code injection, CWE-94). The  vm2  sandbox runs in the same Node.js process as Flowise and exposes risky dependencies. As a result, the injected code could escape the sandbox and run arbitrary code on the Flowise server as the Flowise process user. Exploitation only requires an authenticated session. The issue is fixed in version 3.1.3, which passes the URL to the sandbox as data instead of inserting it into code and adds stricter URL validation.","provenance":"source","from":"CVE.org"},"cvss":{"score":9,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00664,"percentile":0.52688,"provenance":"source"},"cwes":[{"id":"CWE-95","name":"Improper Neutralization of Directives in Dynamically Evaluated Code"}],"references":[{"url":"https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-wg86-r78f-74mp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/FlowiseAI/Flowise/pull/6417","tags":["x_refsource_MISC"]},{"url":"https://github.com/FlowiseAI/Flowise/commit/3f257bdc8196082a178da7134a075824401b13b9","tags":["x_refsource_MISC"]},{"url":"https://github.com/FlowiseAI/Flowise/releases/tag/flowise@3.1.3","tags":["x_refsource_MISC"]}],"priority":{"score":16.8,"factors":[{"name":"EPSS percentile","points":10.54},{"name":"CVSS severity","points":6.3}]},"vendorSlug":"flowiseai","affectedVersions":[{"vendor":"FlowiseAI","product":"Flowise","versions":["< 3.1.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-08-05T14:41:59.649092Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"flowise","vulnerableRanges":["<3.1.3"],"patched":["3.1.3"],"from":["GHSA-wg86-r78f-74mp"],"provenance":"source"},{"ecosystem":"npm","package":"flowise-components","vulnerableRanges":["<3.1.3"],"patched":["3.1.3"],"from":["GHSA-wg86-r78f-74mp"],"provenance":"source"}],"summary":{"text":"A code injection flaw in the Flowise LLM flow builder (FlowiseAI) affects the AgentAsTool, ChatflowTool, and ExecuteFlow custom-tool components, which place a user-supplied baseURL value directly into JavaScript source run in the vm2 sandbox. An attacker with an authenticated session, network access to the Flowise instance, and a crafted baseURL that passes the existing URL check can break out of the sandbox and execute arbitrary code on the server as the Flowise process user.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:47:58Z"},"euvd":{"id":"EUVD-2026-52739","exploited":false,"provenance":"source"}}