CVE-2026-69254: CWE-94: Improper Control of Generation of Code ('Code Injection') in FlowiseAI Flowise
CVE-2026-69254 is a critical code injection vulnerability in FlowiseAI's Flowise prior to version 3.1.3. It allows an authenticated attacker with limited privileges to execute arbitrary system commands as root by exploiting improper control over JavaScript code execution options. The flaw arises from the executeJavaScriptCode() function merging caller-provided NodeVM options over default security settings, enabling escalation to full system command execution. This issue is fixed in Flowise version 3.1.3.
AI Analysis
Technical Summary
FlowiseAI Flowise versions before 3.1.3 contain a CWE-94 code injection vulnerability in the executeJavaScriptCode() function. The function accepted user-supplied nodeVMOptions that override default NodeVM security configurations. An authenticated attacker able to reach the node-custom-functions route can invoke executeJavaScriptCode() with nodeVMOptions.require.builtin set to allow all built-in Node.js modules, including child_process. This enables arbitrary system command execution as root on the Flowise server. The vulnerability is resolved in version 3.1.3.
Potential Impact
An authenticated attacker with limited privileges can escalate to execute arbitrary system commands as root on the Flowise server, potentially leading to full system compromise. The vulnerability has a CVSS 4.0 score of 9.4 (critical), indicating high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade Flowise to version 3.1.3 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is documented. Patch status is confirmed fixed in 3.1.3.
CVE-2026-69254: CWE-94: Improper Control of Generation of Code ('Code Injection') in FlowiseAI Flowise
Description
CVE-2026-69254 is a critical code injection vulnerability in FlowiseAI's Flowise prior to version 3.1.3. It allows an authenticated attacker with limited privileges to execute arbitrary system commands as root by exploiting improper control over JavaScript code execution options. The flaw arises from the executeJavaScriptCode() function merging caller-provided NodeVM options over default security settings, enabling escalation to full system command execution. This issue is fixed in Flowise version 3.1.3.
CVSS v4.0
Score 9.4critical
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
FlowiseAI Flowise versions before 3.1.3 contain a CWE-94 code injection vulnerability in the executeJavaScriptCode() function. The function accepted user-supplied nodeVMOptions that override default NodeVM security configurations. An authenticated attacker able to reach the node-custom-functions route can invoke executeJavaScriptCode() with nodeVMOptions.require.builtin set to allow all built-in Node.js modules, including child_process. This enables arbitrary system command execution as root on the Flowise server. The vulnerability is resolved in version 3.1.3.
Potential Impact
An authenticated attacker with limited privileges can escalate to execute arbitrary system commands as root on the Flowise server, potentially leading to full system compromise. The vulnerability has a CVSS 4.0 score of 9.4 (critical), indicating high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade Flowise to version 3.1.3 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is documented. Patch status is confirmed fixed in 3.1.3.
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: 6a72084dbf8831d5390c1595
Added to database: 08/04/2026, 15:42:05 UTC
Last enriched: 08/11/2026, 18:10:49 UTC
Last updated: 09/18/2026, 22:01:37 UTC
Views: 62
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.