Skip to main content

Flowise EUVDEUVD-2025-210326

| CVE-2025-71332 HIGH
SQL Injection (CWE-89)
2026-06-24 VulnCheck GHSA-9c4c-g95m-c8cp
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain authenticated Flowise session
  2. Delivery
    Craft AllChatflows.json with SQLi payload in chatflow.id
  3. Exploit
    POST file to importChatflows API
  4. Execution
    Injected SQL executes in IN clause
  5. Persist
    Blind/error-based extraction of credential table
  6. Impact
    Exfiltrate stored API keys and secrets

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires (1) a valid authenticated session on the target Flowise instance with permission to call the importChatflows API (or the similarly vulnerable importTools/importVariables endpoints), (2) network reachability to the Flowise server, and (3) the ability to submit a JSON import file whose Chatflows[].id field carries a SQL-injection payload that breaks out of the single-quoted IN clause. Limiting factors: PR:H means anonymous attackers cannot exploit this directly, and instances that restrict the import endpoints to administrators (or disable them at the proxy layer) narrow the attacker pool; no user interaction by another victim is required (UI:N), and any default Flowise deployment ≤ 2.2.7 that exposes the import API to authenticated users is exploitable.

Impact

The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:H/UI:N with VC:H/VI:H/VA:N produces an 8.5 (High) - high confidentiality and integrity impact, but PR:H reflects the genuine requirement for an authenticated session. There is no KEV listing and no EPSS score in the input, so widespread mass exploitation is not currently evidenced; however, a working PoC is published in the GitHub Security Advisory, lowering the bar to exploitation for anyone who can reach an authenticated endpoint. Realistic risk is elevated in deployments where chatflow import is exposed to non-trusted authenticated users (e.g., multi-tenant or shared internal instances), since the credential table - which stores third-party API keys and secrets used by Flowise flows - is explicitly named as an extraction target. PR:H may overstate the friction in environments where account creation is open or weakly controlled, in which case real-world risk trends higher than the headline 8.5.

Exploit ScenarioDerived

An authenticated low-privilege user logs into a shared Flowise instance and submits an AllChatflows.json file to the importChatflows API where a chatflow id is set to ') UNION SELECT credential FROM credential --, causing the concatenated IN clause to leak stored API keys and secrets via blind or error-based SQL extraction. Because a working Python PoC is published in the GHSA advisory, the time-to-exploit for anyone with valid credentials is minimal.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 24, 2026

SQL injection in Flowise through 2.2.7 allows authenticated users to execute arbitrary SQL via the importChatflows API by supplying a crafted JSON file whose chatflow.id value is concatenated unsanitized into an IN clause. Successful exploitation enables blind and error-based extraction of stored credentials and tampering with application data. Publicly available exploit code exists in the GHSA advisory, though no active exploitation is confirmed.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - track FlowiseAI/Flowise pull request https://github.com/FlowiseAI/Flowise/pull/4226 and upgrade to the first Flowise release that incorporates it once published, monitoring the GHSA advisory at https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-9c4c-g95m-c8cp. Until a tagged release ships, operators should restrict access to the importChatflows, importTools, and importVariables endpoints via a reverse proxy or auth middleware so only trusted administrators can call them (side effect: legitimate users lose self-service import); audit existing user accounts and rotate any secrets stored in the credential table since blind extraction is feasible (side effect: temporary service disruption for downstream integrations); and consider running Flowise behind a WAF rule that blocks single-quote and SQL keywords in JSON id fields posted to the import routes (side effect: may false-positive on legitimate identifiers containing those characters).

Affected VersionsENISA

Flowise 0 ≤2.2.7

Affected Packages

npm flowise no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Flowise is an open-source low-code platform for building LLM orchestration flows, backed by a TypeORM-managed relational database. The vulnerable function importChatflows in packages/server/src/services/chatflows/index.ts builds a raw IN-clause string by interpolating each newChatflow.id directly into the query via createQueryBuilder().where(cf.id IN ${ids}), bypassing parameter binding. This is a textbook CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) flaw - a payload like ') {malicious SQL} -- breaks out of the quoted IN list and appends attacker-controlled SQL. The advisory notes that importTools and importVariables share the same unsafe import pattern, suggesting a class of bugs rather than a single defect.

Know when Flowise gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.5 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 8.1 HIGH

Remote API call over the network with low complexity; PR:L because any authenticated user can call import endpoints; high C and I from arbitrary SQL, no availability impact noted.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Flowise through 2.2.7 contains a SQL injection vulnerability in the importChatflows API. Due to insufficient validation of the chatflow.id value, an authenticated user can supply a crafted JSON import file whose id field is concatenated unsanitized into a SQL IN clause, allowing arbitrary SQL to be executed, including blind and error-based extraction of data from the credential table.

Executive ViewAI

Why It Matters

Flowise versions through 2.2.7 contain a SQL injection vulnerability in the importChatflows API that allows authenticated users to execute arbitrary SQL against the application database. Successful exploitation enables attackers to extract stored credentials and modify application data, creating material risks to data confidentiality and system integrity. Organizations running affected versions require immediate action to restrict API access while awaiting vendor remediation.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict importChatflows API access to trusted administrators via network segmentation or VPN; (2) Deploy WAF rules targeting SQL injection in file-upload handlers; (3) Enable and monitor database query logs for anomalous activity; (4) Disable the importChatflows feature entirely if operationally feasible; (5) Monitor for suspicious authentication patterns and database access outside normal workflows.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Medium
popular open-source LLM orchestration platform, common in AI dev stacks
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2025-8943 CRITICAL POC
9.8 Aug 14

Flowise versions before 3.0.1 allow unauthenticated access to the Custom MCPs feature, which is designed to execute OS c

CVE-2025-26319 CRITICAL POC
9.8 Mar 04

FlowiseAI Flowise version 2.2.6 contains an arbitrary file upload vulnerability in the /api/v1/attachments endpoint. Una

CVE-2025-61913 CRITICAL POC
9.9 Oct 08

Arbitrary file read and write in Flowise versions prior to 3.0.8 allows an authenticated attacker with access to the flo

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2025-58434 CRITICAL POC
9.8 Sep 12

Flowise is a drag & drop user interface to build a customized large language model flow. Rated critical severity (CVSS 9

CVE-2025-61687 HIGH POC
8.8 Oct 06

Authenticated users can upload arbitrary files to Flowise 3.0.7 due to missing validation, enabling persistent storage o

CVE-2026-30821 CRITICAL POC
9.8 Mar 07

Unrestricted file upload in Flowise LLM workflow builder before 3.0.13 via /api/v1/attachments endpoint allows unauthent

CVE-2026-30824 CRITICAL POC
9.8 Mar 07

Missing authentication on NVD data endpoint in Flowise before 3.0.13 allows unauthenticated access to internal vulnerabi

CVE-2025-34267 HIGH POC
8.4 Oct 14

Authenticated remote code execution in FlowiseAI Flowise (v3.0.1 up to but not including 3.0.8, and later versions when

CVE-2026-70470 CRITICAL POC
9.5 Aug 04

Remote code execution in Flowise before 3.1.3 arises because its Pyodide Python-code validator (validatePythonCodeForDat

CVE-2026-69264 CRITICAL POC
9.4 Aug 04

Remote code execution in FlowiseAI Flowise before 3.1.3 lets an attacker execute arbitrary OS commands as the Flowise pr

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy