Skip to content
OpenAdvisories
Critical · 9.4 CVE-2026-69264 EUVD-2026-52801GHSA-4j8x-x6v7-w9rq

Flowise: RCE via CSVAgent csvFile data URI base64 segment is interpolated into Python source without validation

Published Aug 4, 2026 · Updated Aug 4, 2026 · Assigned by GitHub_M

Description

Prior to 3.1.3, Flowise CSVAgent interpolates an attacker-controlled segment of the csvFile data URI directly into a Python source-code template that is then executed by Pyodide. Because Pyodide is loaded with the default js bridge to globalThis, which on Node.js exposes eval and dynamic import, the attacker can break out of the Python string literal, hand a JavaScript string to js.eval, dynamically import Node built-in modules such as fs and child_process, and execute arbitrary file I/O or OS commands as the Flowise process. The two validator paths around this code, validatePythonCodeForDataFrame and validateCustomReadCSVFunction, are never applied to the bootstrap template. A workspace user with chatflows:create or agentflows/chatflows update permission can plant a CSV Agent node with a crafted csvFile; once the chatflow is exposed via POST /api/v1/prediction/:id, any unauthenticated request triggers host remote code execution. This issue is fixed in version 3.1.3.

Affected products

VendorProductAffectedFixed
FlowiseAI Flowise < 3.1.3 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm flowise < 3.1.3 3.1.3 GHSA-4j8x-x6v7-w9rq
npm flowise-components < 3.1.3 3.1.3 GHSA-4j8x-x6v7-w9rq

Advisories 1

References