Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. flowise-components
  4. ›
  5. CVE-2026-70477

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

August 4, 2026

– ABSTRACT ————————————-

Trend Micro’s Zero Day Initiative has identified a vulnerability affecting the following products: Flowise - Flowise

– VULNERABILITY DETAILS ————————

  • Version tested: 3.1.1
  • Installer file: https://github.com/FlowiseAI/Flowise (npm install flowise@3.1.1)
  • Platform tested: Ubuntu 25.10

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. An attacker can leverage this to execute arbitrary code in the context of the user running the server.

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Flowise. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the run method of the CSV_Agents class. The issue results from insufficient input sanitization when using untrusted data to construct an LLM prompt. An attacker can leverage this vulnerability to execute code in the context of the service account.

References

  • github.com/FlowiseAI/Flowise/commit/f4e2794f6a576b94578f2fdafbf49c2fb304626c
  • github.com/FlowiseAI/Flowise/pull/6499
  • github.com/FlowiseAI/Flowise/releases/tag/flowise@3.1.3
  • github.com/FlowiseAI/Flowise/security/advisories/GHSA-5xvg-pmgg-3mxr
  • github.com/advisories/GHSA-5xvg-pmgg-3mxr
  • nvd.nist.gov/vuln/detail/CVE-2026-70477

Code Behaviors & Features

Detect and mitigate CVE-2026-70477 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.1.3

Fixed versions

  • 3.1.3

Solution

Upgrade to version 3.1.3 or above.

Impact 9 CRITICAL

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/flowise-components/CVE-2026-70477.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:31 +0000.