CVE-2026-70477
CRITICAL 9.5CVSS 4.0Flowise: CSV Agent Prompt Injection Remote Code Execution Vulnerability
Flowise is a drag & drop user interface to build a customized large language model flow. Prior to 3.1.3, a prompt injection sent to a chatflow using a CSV Agent node can cause the LLM to respond with a malicious Python script that bypasses the blocklist validator and executes in an unsandboxed Pyodide environment. The specific flaw exists within the run method of the CSV_Agents class, where untrusted data is used to construct an LLM prompt and the resulting pythonCode is validated by validatePythonCodeForDataFrame before execution. An attacker can leverage this to execute arbitrary code in the context of the service account. This issue is fixed in 3.1.3.
- Published
- 4 Aug 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-94
- Also known as
- GHSA-5xvg-pmgg-3mxr
- Sources
- NVDJSONOSV GHSA-5xvg-pmgg-3mxrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | CRITICAL 9.5 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | flowiseai | flowisecpe:2.3:a:flowiseai:flowise:*:*:*:*:*:*:*:* |
< 3.1.3 | 3.1.3 |
| OSV | npm | flowise | < 3.1.3 | 3.1.3 |
| OSV | npm | flowise-components | < 3.1.3 | 3.1.3 |
References
- https://github.com/FlowiseAI/Flowise/commit/f4e2794f6a576b94578f2fdafbf49c2fb304626c · Patch, WEB
- https://github.com/FlowiseAI/Flowise/pull/6499 · Issue Tracking, Patch, WEB
- https://github.com/FlowiseAI/Flowise/releases/tag/flowise@3.1.3 · Release Notes, WEB
- https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-5xvg-pmgg-3mxr · Vendor Advisory, WEB
- https://github.com/FlowiseAI/Flowise · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 4 Aug 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 4 Aug 2026)