Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Flowise instance
-
DeliverySubmit crafted JS to /api/v1/node-custom-function
-
ExploitWrite payload file into mammoth package via LocalFileStore
-
Executionrequire() module to break out of vm2
-
ImpactExecute OS commands as Flowise process user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Dangerous method exposure prevention
|
| Exploitation Conditions | Exploitation requires an authenticated account (PR:L) able to reach the /api/v1/node-custom-function endpoint AND the instance running with ALLOW_BUILTIN_DEP=true, which is a non-default configuration flag that enables the allowlisted langchain and mammoth modules the attack abuses. The concrete technique is to use LocalFileStore to write an attacker-controlled file into the mammoth package directory and then require() it, so it executes outside the vm2/@flowiseai/nodevm sandbox. Limiting factors: both the authenticated access and the ALLOW_BUILTIN_DEP=true setting must be present - without the flag the required built-in dependencies are not available; impact severity is heightened where the Flowise process runs as root (official Docker image per GHSA). |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N) scores 9.0 with full vulnerable- and subsequent-system impact (VC/VI/VA/SC/SI/SA all High), consistent with a vm2 sandbox escape that yields OS command execution on the host. The AT:P ('attack requirements present') correctly encodes the non-default dependency: exploitation requires ALLOW_BUILTIN_DEP=true, and PR:L requires an authenticated account with access to /api/v1/node-custom-function. vuln.today assigns a Decision label of act_now and the issue was reported by VulnCheck, so urgency should be treated as high. However, the escalating signals are incomplete and partly conflicting: no CISA KEV listing is present, no EPSS probability is supplied, and the input does not label any reference as a confirmed working exploit - so there is no evidence of widespread active exploitation, and act_now appears driven by severity plus a credible vendor report rather than observed in-the-wild activity. Net assessment: this is a genuine high priority for anyone running Flowise with ALLOW_BUILTIN_DEP=true and any untrusted or multi-tenant authenticated users (impact is amplified because the official Docker image runs as root per the GHSA), but the dual precondition of authentication AND a non-default flag makes opportunistic mass exploitation less likely than the raw 9.0 implies - closer to a targeted risk than an internet-wide emergency. |
| Exploit ScenarioDerived | An authenticated Flowise user on an instance configured with ALLOW_BUILTIN_DEP=true submits JavaScript to /api/v1/node-custom-function that uses the allowlisted langchain LocalFileStore to write an attacker-controlled file into the mammoth package directory, then require()s that module so it loads outside the vm2 sandbox, executing arbitrary OS commands as the Flowise process user (root in the official Docker image). No public exploit is identified in the supplied data, though the VulnCheck advisory documents the technique in detail. The low attack complexity (AC:L) and lack of required user interaction (UI:N) mean the request itself is straightforward once an account and the enabling flag are in place. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 30, 2026
Authenticated Flowise users can escape the vm2/@flowiseai/nodevm sandbox and execute OS commands as the Flowise process user when the instance runs with ALLOW_BUILTIN_DEP=true. The technique abuses allowlisted langchain and mammoth modules: JavaScript submitted to /api/v1/node-custom-function writes an attacker-controlled file into the mammoth package via LocalFileStore and then requires it, executing outside the sandbox; the CVSS 4.0 score is 9.0 and the vuln.today decision label is act_now, reflecting host-level confidentiality, integrity and availability impact, heightened where Flowise runs as root in the official Docker image. No CISA KEV entry or public exploit code was identified in the provided data, and exploitation requires both an authenticated account and the non-default ALLOW_BUILTIN_DEP=true setting.
RemediationAI
GHSA-9gvv-qjj3-2p6g identifies fixed versions 3.1.3 for npm/flowise and npm/flowise-components, so upgrade to at least 3.1.3 per that advisory; because the CVE description states the issue exists through 3.1.4, verify the latest vendor release before relying on a specific version and apply the newest available Flowise build. If immediate upgrade is not possible, set ALLOW_BUILTIN_DEP=false to remove the allowlisted langchain and mammoth dependencies the chain relies on, accepting that built-in dependency features will be unavailable, and restrict /api/v1/node-custom-function to fully trusted authenticated users. Run Flowise as a non-root user because the official Docker image runs as root, which increases impact. Consult https://github.com/advisories/GHSA-9gvv-qjj3-2p6g and the vendor references for confirmation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is CWE-749 (Exposed Dangerous Method or Function) in Flowise's use of the vm2/@flowiseai/nodevm JavaScript sandbox. Flowise exposes /api/v1/node-custom-function to authenticated users and, when ALLOW_BUILTIN_DEP=true, makes allowlisted built-in dependencies including langchain and mammoth available inside that execution context. Attackers can use LocalFileStore to write attacker-controlled content into the mammoth package directory and then require() that file, so code runs outside the sandbox as the Flowise process user - root in the official Docker image per the GHSA. The provided CVSS 4.0 vector is AV:N/AC:L/AT:P/PR:L/UI:N with all vulnerable- and subsequent-system impacts High, while the independent assessment scores CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H and stresses that both authenticated endpoint access and the non-default ALLOW_BUILTIN_DEP=true flag are prerequisites; without the flag the required built-in dependencies are unavailable.
Know when Flowise gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Authenticated API access gives PR:L; the required non-default ALLOW_BUILTIN_DEP=true is an attacker-uncontrolled precondition so AC:H; escaping vm2 to the host process is S:C with full OS-level C/I/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Flowise through 3.1.4 contains a sandbox escape vulnerability that allows authenticated users to execute OS commands by abusing allowlisted langchain and mammoth modules when ALLOW_BUILTIN_DEP=true. Attackers can submit JavaScript to /api/v1/node-custom-function that writes a file into the mammoth package via LocalFileStore and requires it, escaping vm2 as the Flowise process user.
Executive ViewAI
Flowise, an AI workflow platform, has a critical sandbox escape flaw that allows authenticated users to execute arbitrary OS commands, fully compromising the host. This affects organizations running Flowise with the non-default ALLOW_BUILTIN_DEP=true setting, especially those using the official Docker image as root. Leadership should prioritize this due to the severe impact: unauthorized access to sensitive data, system tampering, and service disruption.
Disable ALLOW_BUILTIN_DEP if possible; run Flowise as a non-root user; restrict authenticated access to trusted users; monitor for suspicious file writes to the mammoth package directory.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Flowise versions before 3.0.1 allow unauthenticated access to the Custom MCPs feature, which is designed to execute OS c
FlowiseAI Flowise version 2.2.6 contains an arbitrary file upload vulnerability in the /api/v1/attachments endpoint. Una
Arbitrary file read and write in Flowise versions prior to 3.0.8 allows an authenticated attacker with access to the flo
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Flowise is a drag & drop user interface to build a customized large language model flow. Rated critical severity (CVSS 9
Authenticated users can upload arbitrary files to Flowise 3.0.7 due to missing validation, enabling persistent storage o
Unrestricted file upload in Flowise LLM workflow builder before 3.0.13 via /api/v1/attachments endpoint allows unauthent
Missing authentication on NVD data endpoint in Flowise before 3.0.13 allows unauthenticated access to internal vulnerabi
Authenticated remote code execution in FlowiseAI Flowise (v3.0.1 up to but not including 3.0.8, and later versions when
Remote code execution in Flowise before 3.1.3 arises because its Pyodide Python-code validator (validatePythonCodeForDat
Remote code execution in FlowiseAI Flowise before 3.1.3 lets an attacker execute arbitrary OS commands as the Flowise pr
EUVD-2026-114243
GHSA-7pc2-8w3w-pqfg
NVD
CVE.org
EPSS
Exploit-DB