CVE-2026-119978
8.5 HIGHpublic exploit availablePublished 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.
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
- https://github.com/FlowiseAI/Flowise
- https://github.com/FlowiseAI/Flowise/blob/a65f81bb43ef66d3ce734bf0dff4223ae8041c95/packages/components/src/utils.ts#L1733
- https://github.com/FlowiseAI/Flowise/blob/a65f81bb43ef66d3ce734bf0dff4223ae8041c95/packages/components/src/utils.ts#L55-L114
- https://github.com/advisories/GHSA-9gvv-qjj3-2p6g
- https://github.com/soovwv/cve/blob/a37354aff1e78c0601772e7716f5318c473e8640/CVE-2026-119978.md
All references
- https://github.com/FlowiseAI/Flowise
- https://github.com/FlowiseAI/Flowise/blob/a65f81bb43ef66d3ce734bf0dff4223ae8041c95/packages/components/src/utils.ts#L1733
- https://github.com/FlowiseAI/Flowise/blob/a65f81bb43ef66d3ce734bf0dff4223ae8041c95/packages/components/src/utils.ts#L55-L114
- https://github.com/advisories/GHSA-9gvv-qjj3-2p6g
- https://github.com/soovwv/cve/blob/a37354aff1e78c0601772e7716f5318c473e8640/CVE-2026-119978.md
- https://www.vulncheck.com/advisories/flowise-through-3.1.4-custom-function-sandbox-escape-rce-via-localfilestore
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- CRITICALCVE-2026-121060
- CRITICALCVE-2026-121071
- CRITICALCVE-2026-121104
- CRITICALCVE-2026-92940PoC
- HIGHCVE-2026-77926PoC
- HIGHCVE-2026-92704PoC
- HIGHCVE-2014-125138PoC
- CRITICALCVE-2020-37282PoC
Related by shared AI tags and CWE weakness class. Browse the full archive.