Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-46442: CWE-94: Improper Control of Generation of Code ('Code Injection') in FlowiseAI Flowise

0
Critical
VulnerabilityCVE-2026-46442cvecve-2026-46442cwe-94
Published: Mon Jun 08 2026 (06/08/2026, 15:30:48 UTC)
Source: CVE Database V5
Vendor/Project: FlowiseAI
Product: Flowise

Description

Flowise is a drag & drop user interface to build a customized large language model flow. Prior to version 3.1.2, POST /api/v1/node-custom-function lacks route-level authorization, allowing any authenticated user or API key to submit arbitrary JavaScript to the Custom JS Function node. When E2B_APIKEY is not configured — the common deployment case — Flowise executes this code inside a NodeVM sandbox. This sandbox can be escaped, allowing an attacker to reach the host process object and execute system commands via child_process. The result is authenticated remote code execution on the Flowise server host. This issue has been patched in version 3.1.2.

CVSS v4.0

Score 9.4critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
High
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/08/2026, 16:04:52 UTC

Technical Analysis

CVE-2026-46442 is a critical vulnerability in Flowise (prior to version 3.1.2) involving improper control of code generation (CWE-94). The POST /api/v1/node-custom-function API endpoint does not enforce route-level authorization, allowing authenticated users or API keys to submit arbitrary JavaScript to the Custom JS Function node. If the E2B_APIKEY is not set, the code runs inside a NodeVM sandbox that can be escaped, permitting attackers to access the host process object and execute system commands via child_process, leading to authenticated remote code execution on the server host. This issue is fixed in Flowise version 3.1.2.

Potential Impact

An attacker with authentication or a valid API key can execute arbitrary system commands on the Flowise server host, resulting in full remote code execution capabilities. This compromises the confidentiality, integrity, and availability of the affected system. The vulnerability is critical due to the ease of exploitation and the high impact on the server.

Mitigation Recommendations

Upgrade Flowise to version 3.1.2 or later, where this vulnerability has been patched. No other mitigations are specified. Patch status is confirmed fixed in version 3.1.2.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-13T22:18:22.831Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a26e468e29bf47b501e313b

Added to database: 6/8/2026, 3:48:56 PM

Last enriched: 6/8/2026, 4:04:52 PM

Last updated: 6/8/2026, 8:32:18 PM

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses