Description
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.
Published: 2026-10-30
Score: 9 Critical
EPSS: n/a
KEV: No
Impact: Remote code execution via sandbox escape
Action: Immediate Patch
AI Analysis

Impact

This vulnerability allows an authenticated user to execute arbitrary OS commands by uploading JavaScript to the /api/v1/node-custom-function endpoint. The attacker abuses the allowlisted langchain and mammoth modules when ALLOW_BUILTIN_DEP=true, writing a file into the mammoth package through LocalFileStore and requiring it. This bypasses the vm2 sandbox and runs commands as the Flowise process user. The impact is full integrity and confidentiality compromise, enabling a local or remote attacker with legitimate credentials to run any system command on the host.

Affected Systems

The affected product is Flowise AI’s Flowise application, versions up through 3.1.4. The vulnerability hinges on configurations that permit built‑in dependencies, so all installations that enable ALLOW_BUILTIN_DEP=true and expose the node‑custom‑function API to authenticated users are impacted.

Risk and Exploitability

The CVSS score of 9 indicates critical severity, and the vulnerability is known to be exploitable by authenticated users. The EPSS score is not available, but the lack of available exploit data does not mitigate the risk due to the high CVSS. The vulnerability is not listed in CISA KEV, yet the ability to execute arbitrary commands on the Flowise host poses a substantial threat. An attacker requires authentication but can then execute arbitrary OS commands, potentially compromising the entire system.

Generated by OpenCVE AI on October 30, 2026 at 18:36 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Flowise to a version newer than 3.1.4 that removes the vulnerable allowlisted module handling.
  • Disable the ALLOW_BUILTIN_DEP feature or configure it to only allow known safe modules, preventing dynamic inclusion of arbitrary package code.
  • Restrict access to the /api/v1/node-custom-function endpoint to trusted internal services only and enforce strict authentication and authorization controls.

Generated by OpenCVE AI on October 30, 2026 at 18:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 30 Oct 2026 17:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Flowise through 3.1.4 Custom Function Sandbox Escape RCE via LocalFileStore
First Time appeared Flowiseai
Flowiseai flowise
Weaknesses CWE-749
CPEs cpe:2.3:a:flowiseai:flowise:*:*:*:*:*:*:*:*
Vendors & Products Flowiseai
Flowiseai flowise
References
Metrics cvssV3_1

{'score': 8.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H'}

cvssV4_0

{'score': 9, 'vector': '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'}


Subscriptions

Flowiseai Flowise
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-30T17:28:31.216Z

Reserved: 2026-10-30T17:24:18.282Z

Link: CVE-2026-119978

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-30T18:17:27.577

Modified: 2026-10-30T18:17:27.710

Link: CVE-2026-119978

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-30T19:00:15Z

Weaknesses
  • CWE-749

    Exposed Dangerous Method or Function