Ongoing

The next escape used a module the sandbox trusted

Someone with a Flowise login wrote a file into an allowlisted package, then made the sandbox load it. The script stepped outside vm2 as the server's own user.

Logged 30 Oct 2026

The custom function wrote its own dependency

An authenticated user posted JavaScript to Flowise's custom-function endpoint and wrote a file into mammoth, a document converter the sandbox already allowed its code to load. The script then required that file. The load ran outside the vm2 sandbox, as the Flowise process user, and the advisory calls it a sandbox escape.

Two settings carry the whole chain. The instance must set ALLOW_BUILTIN_DEP to true, which lets custom functions reach built-in dependencies, and the attacker must already hold an account. Neither condition is unusual on a Flowise instance that already runs custom code written by its own users, which is the feature the endpoint exists to serve.

The same endpoint, a different trusted module

This is the second escape on the same endpoint in three weeks. GHSA-9gvv-qjj3-2p6g, published 7 October, described an escape that handed puppeteer's executablePath and args to a sandbox that trusted the package, reaching child_process.spawn on the host. Flowise fixed that one in 3.1.3. It also required built-in dependencies to be enabled, on versions 3.0.8 through 3.1.2.

Both chains ran through code the sandbox had already approved, because the allowlist names packages and does not track what those packages will load next. This advisory covers every release through 3.1.4. No fixed version is named.

What the record leaves open

VulnCheck rates the flaw critical at 9.0 under CVSS 4.0, while GitHub's advisory scores the same issue 8.5 under CVSS 3.1, and neither entry lists a fixed release. No exploitation is recorded in either.

The product reference points at Flowise's repository rather than a patch commit, and the affected range stops at the latest release. One advisory and one aggregator entry sit behind this account. Both repeat the same description.

Log take: The October fix closed puppeteer and left the pattern standing. A sandbox that trusts a package directory trusts whatever can write into it. (Interpretation; single advisory, no fixed release listed.)

Sources

Research