threatdeck
Live 14:45 UTC ·

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

  1. Check whether Flowise instances run version 3.1.4 or earlier and check the vendor for a fixed release.
  2. Set ALLOW_BUILTIN_DEP to false, or remove it, unless it is required.
  3. Restrict access to /api/v1/node-custom-function and limit Flowise accounts to trusted users.
  4. Run Flowise as a low-privilege user in an isolated container with minimal secrets and network access.
  5. 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.”

NVD (AI keyword search)

“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.”

NVD (AI keyword search)

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

Following

Follow the vendors, products, AI tools, techniques and actors you care about. Matching stories, CVEs and exploited bugs are marked, a Following tab appears in the feed, and returning visits show what changed. Saved only in this browser.

Presets

Get updates

A personal RSS feed of new stories on everything you follow. Paste it into any feed reader, Slack or Teams RSS app.