AI Stack Alert Critical CVE-2026-119978 For AppSec, AI Eng, SOC / IR, CISO AI-assisted
Flowise through 3.1.4: vm2 sandbox escape to OS command execution (CVE-2026-119978)
Flowise through 3.1.4 has a sandbox escape that lets authenticated users run OS commands. It abuses allowlisted langchain and mammoth modules when ALLOW_BUILTIN_DEP=true. JavaScript submitted to /api/v1/node-custom-function writes a file into the mammoth package via LocalFileStore and requires it, escaping vm2 as the Flowise process user. The CVSS base score is listed as 9.
Why it matters
Any authenticated Flowise user on an affected instance with ALLOW_BUILTIN_DEP=true can run commands with the privileges of the Flowise process. This can expose host data, API keys and connected systems.
Do this
- Check whether Flowise instances run version 3.1.4 or earlier and check the vendor for a fixed release.
- Set ALLOW_BUILTIN_DEP to false, or remove it, unless it is required.
- Restrict access to /api/v1/node-custom-function and limit Flowise accounts to trusted users.
- Run Flowise as a low-privilege user in an isolated container with minimal secrets and network access.
- Hunt for unexpected files written in the mammoth package directory and for unusual child processes from the Flowise process.
Exploit Clock
Exploitation unlikely (for now)
- EPSS 0.34%
Signals
- NoCISA KEV
- 9CVSS
- 0.34%EPSS
- NoPublic PoC
- 41/100Priority
- 70%Confidence
Evidence
“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.”
Sources
Affected / related
Flowise, vm2, mammoth, langchain
Published 2026-10-30 18:17 UTC · updated 2026-11-08 02:31 UTC · AI-assisted summary, checked against quoted sources · How we score