CVE-2026-69253: CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in FlowiseAI Flowise
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.
AI Analysis
Technical Summary
Flowise versions before 3.1.3 contain a vulnerability (CWE-95) due to improper neutralization of directives in dynamically evaluated code ('Eval Injection'). Several custom-tool components insert a user-controlled baseURL directly into JavaScript source code executed in the vm2 sandbox without sufficient sanitization. Although the baseURL is validated by isValidURL, this check does not prevent injection of characters that break out of the string context, allowing an authenticated user to inject arbitrary JavaScript. Because the vm2 sandbox runs in the same Node.js process and exposes risky dependencies, the injected code can escape the sandbox and execute arbitrary code on the Flowise server as the process user. The vulnerability is fixed in version 3.1.3 by passing the URL as data instead of code and adding stricter validation.
Potential Impact
An authenticated attacker can execute arbitrary code on the Flowise server with the privileges of the Flowise process user. This can lead to full compromise of the server hosting Flowise. The vulnerability requires authentication but no user interaction beyond that. The critical CVSS 4.0 score of 9 reflects the high impact and network attack vector with low complexity but requiring low privileges.
Mitigation Recommendations
Upgrade Flowise to version 3.1.3 or later, where the vulnerability is fixed by changing how user-controlled URLs are handled in the sandbox and by adding stricter URL validation. No other mitigations are specified. Patch status is not explicitly stated but the vendor has fixed the issue in 3.1.3, so upgrading to this version or later is the recommended remediation.
CVE-2026-69253: CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in FlowiseAI Flowise
Description
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.
CVSS v4.0
Score 9.0critical
Affected software
FlowiseAI
Flowise
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Flowise versions before 3.1.3 contain a vulnerability (CWE-95) due to improper neutralization of directives in dynamically evaluated code ('Eval Injection'). Several custom-tool components insert a user-controlled baseURL directly into JavaScript source code executed in the vm2 sandbox without sufficient sanitization. Although the baseURL is validated by isValidURL, this check does not prevent injection of characters that break out of the string context, allowing an authenticated user to inject arbitrary JavaScript. Because the vm2 sandbox runs in the same Node.js process and exposes risky dependencies, the injected code can escape the sandbox and execute arbitrary code on the Flowise server as the process user. The vulnerability is fixed in version 3.1.3 by passing the URL as data instead of code and adding stricter validation.
Potential Impact
An authenticated attacker can execute arbitrary code on the Flowise server with the privileges of the Flowise process user. This can lead to full compromise of the server hosting Flowise. The vulnerability requires authentication but no user interaction beyond that. The critical CVSS 4.0 score of 9 reflects the high impact and network attack vector with low complexity but requiring low privileges.
Mitigation Recommendations
Upgrade Flowise to version 3.1.3 or later, where the vulnerability is fixed by changing how user-controlled URLs are handled in the sandbox and by adding stricter URL validation. No other mitigations are specified. Patch status is not explicitly stated but the vendor has fixed the issue in 3.1.3, so upgrading to this version or later is the recommended remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-03T19:54:19.853Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a72084dbf8831d5390c158f
Added to database: 08/04/2026, 15:42:05 UTC
Last enriched: 08/11/2026, 17:51:57 UTC
Last updated: 09/18/2026, 10:01:33 UTC
Views: 69
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.