{"id":"CVE-2026-119978","revision":"78b403a559fa47c4b6533c5b8ae124a8","records":[{"revision":"78b403a559fa47c4b6533c5b8ae124a8","observedAt":"2026-10-30T18:45:26.441+00:00","statement":{"source":"cve-program","id":"CVE-2026-119978","aliases":[],"title":"Flowise through 3.1.4 Custom Function Sandbox Escape RCE via LocalFileStore","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.","state":0,"publishedAt":"2026-10-30T17:28:31.216+00:00","modifiedAt":"2026-10-30T17:28:31.216+00:00","affected":[{"ecosystem":"Vendor product","name":"Flowise","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"FlowiseAI\",\n                    \"product\": \"Flowise\",\n                    \"packageURL\": \"pkg:github/FlowiseAI/Flowise\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"3.1.4\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"repo\": \"https://github.com/FlowiseAI/Flowise\"\n                }"}],"metrics":[{"system":"CVSS 4.0","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","score":9,"severity":"CRITICAL"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.5,"severity":"HIGH"}],"references":["https://github.com/FlowiseAI/Flowise/blob/a65f81bb43ef66d3ce734bf0dff4223ae8041c95/packages/components/src/utils.ts#L55-L114","https://github.com/FlowiseAI/Flowise/blob/a65f81bb43ef66d3ce734bf0dff4223ae8041c95/packages/components/src/utils.ts#L1733","https://github.com/advisories/GHSA-9gvv-qjj3-2p6g","https://github.com/FlowiseAI/Flowise","https://www.vulncheck.com/advisories/flowise-through-3.1.4-custom-function-sandbox-escape-rce-via-localfilestore"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-119978","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-119978","identifiers":["CVE-2026-119978"]},"retained":false,"historicalAffected":[]}],"coverage":[]}