# CVE-2026-70477: Flowise: CSV Agent Prompt Injection Remote Code Execution Vulnerability

- Severity: Critical 9.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.83%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-04T19:29:14.796Z
- Modified: 2026-10-24T15:10:00.190Z
- Also known as: GHSA-5xvg-pmgg-3mxr
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- FlowiseAI Flowise: < 3.1.2; before 3.1.3
- flowise (npm): before 3.1.3
- flowise-components (npm): before 3.1.3

## Every score

- GitHub_M: CVSS:4.0 9.5 Critical `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`
- GitHub: CVSS:4.0 Critical `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: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-5xvg-pmgg-3mxr> (exploit, vendor-advisory, web)
- <https://github.com/FlowiseAI/Flowise/pull/6499> (issue-tracking, patch, web)
- <https://github.com/FlowiseAI/Flowise/commit/f4e2794f6a576b94578f2fdafbf49c2fb304626c> (patch, web)
- <https://github.com/FlowiseAI/Flowise/releases/tag/flowise@3.1.3> (release-notes, web)
- <https://github.com/FlowiseAI/Flowise> (package)

## Sources

- CVE List: [CVE-2026-70477](https://www.cve.org/CVERecord?id=CVE-2026-70477), CVE Terms of Use, modified 2026-08-05
- GitHub Advisory Database: [GHSA-5xvg-pmgg-3mxr](https://github.com/advisories/GHSA-5xvg-pmgg-3mxr), CC-BY-4.0, modified 2026-08-04
- NVD: [CVE-2026-70477](https://nvd.nist.gov/vuln/detail/CVE-2026-70477), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-70477 · Whole record: https://cve.day/CVE-2026-70477.json · Rebuilt by cve.day 2026-11-25T22:59:31.014Z
