← Back to search

CVE-2026-119978

8.5 HIGHpublic exploit available

Published 2026-10-30 · Updated 2026-11-02

AI risk analysis

Summary
Flowise through 3.1.4 allows authenticated users to escape its JavaScript sandbox (vm2) by writing malicious files into the allowlisted mammoth package via LocalFileStore and requiring them through /api/v1/node-custom-function, leading to arbitrary OS command execution as the Flowise process user.
Exploitability
Exploitation requires valid authentication and that ALLOW_BUILTIN_DEP is set to true; the high attack complexity (AC:H) reflects the need for precise file placement and module abuse.
Blast radius
Successful exploitation grants full compromise of confidentiality, integrity, and availability for the Flowise service host, potentially enabling lateral movement or data exfiltration from the underlying system.
Detection
Look for anomalous file creation under node_modules/mammoth/ or unexpected require() calls to non-standard modules within custom function execution logs; specifically monitor for writes to LocalFileStore followed by dynamic imports in the /api/v1/node-custom-function request path.
Prioritized remediation
Upgrade to Flowise version 3.1.5 or later, which patches the sandbox escape by restricting file writes to allowlisted paths and removing unsafe module loading in custom functions.
sandbox-escaperceauth-bypasswebnodejs

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Weaknesses

CWE-749

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.