---
title: "CVE-2026-70477: Flowise: CSV Agent Prompt Injection Remote Code Execution Vulnerability"
url: https://erroneo.us/security/cve/CVE-2026-70477/
description: "CVE-2026-70477 (flowise (npm)): Flowise is a drag & drop user interface to build a customized large language model flow. Prior to 3.1.3, a prompt injection…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-08-04
date_modified: 2026-08-05
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-70477"
kev: false
cvss: 9.5
epss: 0.00814
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.8% , percentile 57: FIRST’s model estimates a 0.8% chance of exploitation activity in the next 30 days, higher than 57% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes flowise (npm) <= 3.1.2, fixed in 3.1.3 ; flowise-components (npm) <= 3.1.2, fixed in 3.1.3 . Check your lockfile, including transitive dependencies.

## What it is

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 CSVAgents 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.

## Affected packages

- npm `flowise` <= 3.1.2 → fixed: 3.1.3
- npm `flowise-components` <= 3.1.2 → fixed: 3.1.3

## Affected products (CVE record)

- FlowiseAI Flowise: < 3.1.2

## Severity

- GitHub_M CVSS 4.0: 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`
- GitHub CVSS 4.0: 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`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.81% probability of exploitation activity in the next 30 days; percentile 57.

## Sources

- [GitHub Advisory GHSA-5xvg-pmgg-3mxr](https://github.com/advisories/GHSA-5xvg-pmgg-3mxr)
- [CVE.org record CVE-2026-70477](https://www.cve.org/CVERecord?id=CVE-2026-70477)
- [NVD entry CVE-2026-70477](https://nvd.nist.gov/vuln/detail/CVE-2026-70477)
- [github.com](https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-5xvg-pmgg-3mxr)
- [github.com](https://github.com/FlowiseAI/Flowise/pull/6499)
- [github.com](https://github.com/FlowiseAI/Flowise/commit/f4e2794f6a576b94578f2fdafbf49c2fb304626c)
- [github.com](https://github.com/FlowiseAI/Flowise/releases/tag/flowise@3.1.3)

---
Source page: https://erroneo.us/security/cve/CVE-2026-70477/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
