CVE-2026-119978
JSON

9.0critical

Flowise through 3.1.4 Custom Function Sandbox Escape RCE via LocalFileStore

Severity
9.0critical CVSS:4.0 by VulnCheck
Exploit likelihood
0.45% (higher than 40% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-9gvv-qjj3-2p6g

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.

Affected

Product or packageVersionsReported by
FlowiseAI Flowiseup to 3.1.4CVE List
flowise (npm)before 3.1.3GitHub Advisory Database
flowise-components (npm)before 3.1.3GitHub Advisory Database

All scores

VulnCheck9.0critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
VulnCheck8.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
GitHubcritical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Classification

CWE-749

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database

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.

References

https://github.com/soovwv/cve/blob/a37354aff1e78c0601772e7716f5318c473e8640/CVE-2026-119978.mdtechnical-description
https://github.com/FlowiseAI/Flowise/blob/a65f81bb43ef66d3ce734bf0dff4223ae8041c95/packages/components/src/utils.ts#L55-L114technical-description
https://github.com/FlowiseAI/Flowise/blob/a65f81bb43ef66d3ce734bf0dff4223ae8041c95/packages/components/src/utils.ts#L1733technical-description
https://github.com/advisories/GHSA-9gvv-qjj3-2p6grelated
https://github.com/FlowiseAI/Flowisepackage, product
https://www.vulncheck.com/advisories/flowise-through-3.1.4-custom-function-sandbox-escape-rce-via-localfilestorethird-party-advisory
https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-9gvv-qjj3-2p6gweb
https://nvd.nist.gov/vuln/detail/CVE-2026-73483advisory
https://www.vulncheck.com/advisories/flowise-before-sandbox-escape-via-puppeteerweb

Related

Sources

SourceRecordLicence
CVE ListCVE-2026-119978 changed 2026-11-06CVE Terms of Use
GitHub Advisory DatabaseGHSA-9gvv-qjj3-2p6g changed 2026-10-31CC-BY-4.0
NVDCVE-2026-119978 changed 2026-11-06Public domain