PT-2026-67749 · Flowise · Flowise

CVE-2026-69254

·

Published

2026-08-04

·

Updated

2026-08-04

CVSS v4.0

9.4

Critical

VectorAV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Name of the Vulnerable Software and Affected Versions Flowise versions prior to 3.1.3
Description A sandbox escape exists in the executeJavaScriptCode() function that allows an authenticated attacker to execute arbitrary system commands as root on the server. The issue occurs because the function accepts caller-provided nodeVMOptions and merges them over the default security settings using the spread operator, allowing the override of restricted modules. An attacker can reach the packages/server/src/routes/node-custom-functions/index.ts endpoint and provide a custom function that re-enables built-in modules by setting nodeVMOptions.require.builtin to allow all modules. This enables the use of the child process module to run system commands. This flaw allows full remote code execution, enabling the attacker to read sensitive files such as encryption keys and JWT signing secrets.
Recommendations Update Flowise to version 3.1.3 or later. As a temporary mitigation, restrict access to the packages/server/src/routes/node-custom-functions/index.ts endpoint to minimize the risk of exploitation.

Exploit

Fix

RCE

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-69254
GHSA-3769-JGQC-CXM7

Affected Products

Flowise