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.
Flowise through 3.1.4 Custom Function Sandbox Escape RCE via LocalFileStore
Problem type
Affected products
FlowiseAI
<= 3.1.4 - AFFECTED
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
GitHub Security Advisories
GHSA-7pc2-8w3w-pqfg
Flowise through 3.1.4 contains a sandbox escape vulnerability that allows authenticated users to...
https://github.com/advisories/GHSA-7pc2-8w3w-pqfgFlowise 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.
https://nvd.nist.gov/vuln/detail/CVE-2026-119978
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://www.vulncheck.com/advisories/flowise-through-3.1.4-custom-function-sandbox-escape-rce-via-localfilestore
https://github.com/soovwv/cve/blob/a37354aff1e78c0601772e7716f5318c473e8640/CVE-2026-119978.md
https://github.com/advisories/GHSA-7pc2-8w3w-pqfg
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-119978Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-119978",
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"assignerShortName": "VulnCheck",
"dateUpdated": "2026-10-30T17:28:31.216Z",
"dateReserved": "2026-10-30T17:24:18.282Z",
"datePublished": "2026-10-30T17:28:31.216Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck",
"dateUpdated": "2026-10-30T17:28:31.216Z"
},
"datePublic": "2026-10-30T00:00:00.000Z",
"title": "Flowise through 3.1.4 Custom Function Sandbox Escape RCE via LocalFileStore",
"descriptions": [
{
"lang": "en",
"value": "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": [
{
"vendor": "FlowiseAI",
"product": "Flowise",
"repo": "https://github.com/FlowiseAI/Flowise",
"defaultStatus": "unaffected",
"versions": [
{
"version": "0",
"status": "affected",
"versionType": "semver",
"lessThanOrEqual": "3.1.4"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "Exposed Dangerous Method or Function",
"cweId": "CWE-749",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://github.com/FlowiseAI/Flowise/blob/a65f81bb43ef66d3ce734bf0dff4223ae8041c95/packages/components/src/utils.ts#L55-L114",
"tags": [
"technical-description"
]
},
{
"url": "https://github.com/FlowiseAI/Flowise/blob/a65f81bb43ef66d3ce734bf0dff4223ae8041c95/packages/components/src/utils.ts#L1733",
"tags": [
"technical-description"
]
},
{
"url": "https://github.com/advisories/GHSA-9gvv-qjj3-2p6g",
"name": "GitHub Security Advisory (GHSA-9gvv-qjj3-2p6g)",
"tags": [
"related"
]
},
{
"url": "https://github.com/FlowiseAI/Flowise",
"tags": [
"product"
]
},
{
"url": "https://www.vulncheck.com/advisories/flowise-through-3.1.4-custom-function-sandbox-escape-rce-via-localfilestore",
"name": "VulnCheck Advisory: Flowise through 3.1.4 Custom Function Sandbox Escape RCE via LocalFileStore",
"tags": [
"third-party-advisory"
]
}
],
"metrics": [
{
"format": "CVSS"
},
{
"format": "CVSS",
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H",
"attackVector": "NETWORK",
"attackComplexity": "HIGH",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "CHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH",
"baseScore": 8.5,
"baseSeverity": "HIGH"
}
}
],
"credits": [
{
"lang": "en",
"value": "soovwv",
"type": "finder"
}
],
"tags": [
"unsupported-when-assigned"
]
}
}
}