CVE-2026-70470

Flowise: Pyodide validator Unicode homoglyph bypass leads to RCE

Published Aug 4, 2026 CVSS 4.0 · 9.5 Critical EPSS < 1% KEV · Not listed
Description
Flowise is a drag & drop user interface to build a customized large language model flow. Prior to 3.1.3, Flowise validatePythonCodeForDataFrame in packages/components/src/pythonCodeValidator.ts can be bypassed with Unicode homoglyph identifiers, allowing arbitrary Python execution inside Pyodide and full OS command execution on the Flowise host via Pyodide js module interop. The validator gates pyodide.runPythonAsync in packages/components/nodes/agents/CSVAgent/CSVAgent.ts and packages/components/nodes/agents/AirtableAgent/AirtableAgent.ts with an ASCII word-boundary blacklist. JavaScript regex word boundaries are ASCII-only, while Python 3 NFKC-normalizes identifiers at parse time, so homoglyph forms such as __cl𝐚ss__, __subcl𝐚sses__, __b𝐚se__, and __b𝐮iltins__ bypass the blacklist and are parsed as their ASCII equivalents. This issue is fixed in version 3.1.3.

Analysis

AI-generated

Technical impact

Flowise’s Python code validator can be bypassed by using Unicode homoglyphs such as __cl𝐚ss__ that normalize to ASCII identifiers, allowing an attacker to inject arbitrary Python code. The injected code is then executed through the Pyodide.js interop layer, and because Pyodide can run arbitrary OS commands, this flaw results in full remote code execution on the Flowise host. The vulnerability is a classic example of a bypass of input validation (CWE‑184).

Affected Systems

The flaw applies to FlowiseAI’s Flowise product before version 3.1.3. Any deployment that has not upgraded past this release is susceptible to exploitation.

Risk and Exploitability

Flowise assigns a CVSS score of 9.5, indicating critical severity. The EPSS score is not available and the flaw is not listed in CISA’s KEV catalog. The most likely attack vector is through the user interface or any API that accepts Python code strings; an attacker who can deliver a carefully crafted payload can bypass the validator’s ASCII‑only blacklist and achieve arbitrary code execution without needing elevated privileges beyond access to the Flowise UI.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Flowise to version 3.1.3 or later to apply the vendor‑supplied fix.
  • If you cannot upgrade immediately, limit or revoke the ability for users to submit Python code in Flowise components that rely on Pyodide, or sandbox such code execution in a separate environment.
  • Continuously monitor host activity for unexpected OS command execution or Python processes originating from Flowise, and enforce strict user access controls to prevent untrusted users from submitting code.

Generated by OpenCVE AI on August 4, 2026 at 19:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-52fh-8v99-63c2 Flowise: Pyodide validator Unicode homoglyph bypass leads to RCE
History
Type Values Removed Values Added
CPEs cpe:2.3:a:flowiseai:flowise:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Flowiseai
Flowiseai flowise
Vendors & Products Flowiseai
Flowiseai flowise
Type Values Removed Values Added
Description Flowise is a drag & drop user interface to build a customized large language model flow. Prior to 3.1.3, Flowise validatePythonCodeForDataFrame in packages/components/src/pythonCodeValidator.ts can be bypassed with Unicode homoglyph identifiers, allowing arbitrary Python execution inside Pyodide and full OS command execution on the Flowise host via Pyodide js module interop. The validator gates pyodide.runPythonAsync in packages/components/nodes/agents/CSVAgent/CSVAgent.ts and packages/components/nodes/agents/AirtableAgent/AirtableAgent.ts with an ASCII word-boundary blacklist. JavaScript regex word boundaries are ASCII-only, while Python 3 NFKC-normalizes identifiers at parse time, so homoglyph forms such as __cl𝐚ss__, __subcl𝐚sses__, __b𝐚se__, and __b𝐮iltins__ bypass the blacklist and are parsed as their ASCII equivalents. This issue is fixed in version 3.1.3.
Title Flowise: Pyodide validator Unicode homoglyph bypass leads to RCE
Weaknesses CWE-184
References
Metrics cvssV4_0

{'score': 9.5, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}

Weaknesses
  • CWE-184

    Incomplete List of Disallowed Inputs

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 4, 2026, 7:51 PM
Reserved
Aug 4, 2026, 3:24 PM
Status
Analyzed
Published
Aug 4, 2026, 6:16 PM
Modified
Oct 24, 2026, 3:10 PM