Live threats

All CVEs / FlowiseAI

CVE-2026-119978FlowiseAI Flowise

Sandbox escape and remote code execution in Flowise

Critical 9.0

Priority
54
CVSS 4.0
9.0
EPSS
—
Auth required
Yes
Published
Oct 30, 2026
Updated
Nov 6, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-749
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

Flowise through version 3.1.4 contains a sandbox escape vulnerability allowing authenticated users to execute OS commands by abusing allowlisted modules (langchain and mammoth) when ALLOW_BUILTIN_DEP is enabled. An attacker can submit JavaScript to /api/v1/node-custom-function to write a file into the mammoth package and require it, escaping vm2 with Flowise process privileges.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 3.1.3

Update Flowise and flowise-components to version 3.1.3 or later. If you cannot update, disable ALLOW_BUILTIN_DEP or restrict access to /api/v1/node-custom-function endpoint.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for Flowise.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm flowise < 3.1.3 3.1.3 npm install flowise@3.1.3
npm flowise-components < 3.1.3 3.1.3 npm install flowise-components@3.1.3

Per OSV / GitHub Advisories (GHSA-9gvv-qjj3-2p6g). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.