{"id":"CVE-2026-119978","aliases":["CVE-2026-119978","GHSA-9gvv-qjj3-2p6g"],"related":["CVE-2026-73483"],"kind":"vulnerability","state":"published","title":"Flowise through 3.1.4 Custom Function Sandbox Escape RCE via LocalFileStore","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Flowise (packages flowise and flowise-components) in versions <= 3.1.2 contain a sandbox escape in the `vm2/@flowiseai/nodevm` JavaScript sandbox. An authenticated user with access to the `/api/v1/node-custom-function` endpoint can escape the sandbox by supplying attacker-controlled executablePath and args parameters to puppeteer.launch(), which internally invokes child_process.spawn() outside the sandbox boundary. This allows execution of arbitrary OS commands as the Flowise process user (root in the official Docker image) and arbitrary host file disclosure via Chromium's `file://` URL handling. In versions 3.0.8–3.1.2 exploitation requires `ALLOW_BUILTIN_DEP=true`; earlier versions are exploitable by default. Fixed in 3.1.3.","format":"markdown","source":"ghsa"}],"published":"2026-10-07T16:17:02.000Z","modified":"2026-11-06T17:17:19.960Z","severity":{"scorer":"VulnCheck","scheme":"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,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"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,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"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,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","rating":"CRITICAL"}],"cwes":["CWE-749"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"3.1.4","status":"affected"}],"vendor":"FlowiseAI","product":"Flowise","repo":"https://github.com/FlowiseAI/Flowise","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.1.3"}],"ecosystem":"npm","package":"flowise","purl":"pkg:npm/flowise","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.1.3"}],"ecosystem":"npm","package":"flowise-components","purl":"pkg:npm/flowise-components","source":"ghsa"}],"references":[{"url":"https://github.com/soovwv/cve/blob/a37354aff1e78c0601772e7716f5318c473e8640/CVE-2026-119978.md","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FlowiseAI/Flowise/blob/a65f81bb43ef66d3ce734bf0dff4223ae8041c95/packages/components/src/utils.ts#L55-L114","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FlowiseAI/Flowise/blob/a65f81bb43ef66d3ce734bf0dff4223ae8041c95/packages/components/src/utils.ts#L1733","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/advisories/GHSA-9gvv-qjj3-2p6g","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FlowiseAI/Flowise","tags":["package","product"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/flowise-through-3.1.4-custom-function-sandbox-escape-rce-via-localfilestore","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-9gvv-qjj3-2p6g","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73483","tags":["advisory"],"sources":["ghsa"]},{"url":"https://www.vulncheck.com/advisories/flowise-before-sandbox-escape-via-puppeteer","tags":["web"],"sources":["ghsa"]}],"credits":["soovwv"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-06T16:32:49.809Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-119978","url":"https://www.cve.org/CVERecord?id=CVE-2026-119978","licence":"CVE Terms of Use","modified":"2026-11-06T16:33:02.320Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9gvv-qjj3-2p6g","url":"https://github.com/advisories/GHSA-9gvv-qjj3-2p6g","licence":"CC-BY-4.0","modified":"2026-10-31T02:55:55.928Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-119978","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119978","licence":"Public domain","modified":"2026-11-06T17:17:19.960Z"}],"updatedAt":"2026-11-25T22:59:47.986Z","epss":{"score":0.00447,"percentile":0.40601,"date":"2026-12-01T12:00:22.000Z"}}