Skip to content
CriticalVulnerability

GHSA-vmv7-4m6c-3cg5: Flowise: CSV Agent Remote Code Execution via Pyodide Code Injection — Root Shell Verified

Published
Record updated
View JSON
Affected
  • flowise-components <= 3.1.2
  • flowise <= 3.1.2
Fixed in
3.1.3
  • flowise-components 3.1.3 released June 25, 2026, 40 days before disclosure
  • flowise 3.1.3 released June 25, 2026, 40 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.6%

Summary

A report on GHSA-vmv7-4m6c-3cg5 describes a remote code execution flaw in Flowise, verified as root on version 3.1.2. Unsanitized base64 data from a CSV data URI is interpolated into Python code run by Pyodide in CSVAgent.ts (line 161), letting an attacker reach the host Node.js process through the js bridge and run OS commands as root in the container. The report also lists credential exposure via FLOWISE_PASSWORD and an arbitrary file read, with a CVSS v3.1 score of 9.9.

Mitigation

Option 1 (Best): Use pyodide.globals.set('base64_string', base64String) instead of string interpolation. Option 2: Validate base64 before interpolation, rejecting input that does not match /^[A-Za-z0-9+/=]*$/. Option 3: Escape special characters (", \n, \r, \\) before interpolation.