CVE-2026-70470: Flowise: Pyodide validator Unicode homoglyph bypass leads to RCE
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.
Security readout for executives and security teams
Plain-English summary
Flowise versions before 3.1.3 can mistake visually similar Unicode characters for harmless input. Python later interprets those characters as blocked names, enabling an attacker to escape the intended restrictions and potentially execute operating-system commands on the Flowise host.
Executive priority
Treat this as an urgent remediation for any Flowise deployment below 3.1.3, especially internet-accessible or multi-user systems. Successful exploitation could compromise confidentiality, integrity, and availability of the host and connected systems. Prioritize version inventory, access restriction, upgrade, and post-upgrade review for suspicious activity.
Technical view
The affected validator uses ASCII-only JavaScript word boundaries to blacklist dangerous Python identifiers. Python 3 normalizes identifiers using NFKC, allowing Unicode homoglyphs to bypass validation while parsing as blocked ASCII identifiers. Affected CSVAgent and AirtableAgent paths pass validated code to Pyodide, whose JavaScript interop can reach the host operating system.
Likely exposure
Exposure is limited to Flowise versions earlier than 3.1.3. Risk is greatest where affected CSVAgent or AirtableAgent functionality is reachable and attacker-controlled Python can reach the validator. The supplied sources do not establish how commonly these agents are enabled or externally exposed.
Exploitation context
The CVSS 4.0 assessment is 9.5 and indicates network reachability, no required privileges, no user interaction, and high impact, although attack complexity is high. The source bundle reports no KEV listing and provides no evidence of active exploitation.
Researcher notes
CWE-184 applies because the validation logic handles equivalent character forms inconsistently. The key mismatch is ASCII-oriented JavaScript boundary matching versus Python identifier normalization. The advisory states the result can progress from arbitrary Pyodide Python execution to host command execution through JavaScript module interop. No exploitation telemetry is supplied.
Mitigation direction
Upgrade Flowise to version 3.1.3 or later.
Restrict access to affected Flowise agent functionality until upgrading.
Check the Flowise advisory for additional vendor guidance if immediate upgrading is impossible.
Review host credentials and privileges available to the Flowise process.
Validation and detection
Confirm every deployed Flowise instance reports version 3.1.3 or later.
Inventory workflows using CSVAgent or AirtableAgent nodes.
Verify older instances are inaccessible to untrusted users pending upgrade.
Review available input history for suspicious non-ASCII Python identifiers.
Investigate unexpected child processes or operating-system command activity from Flowise hosts.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-184: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
5Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-184 · source CWE mapping
Incomplete List of Disallowed Inputs
Incomplete List of Disallowed Inputs represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.