Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain authenticated Flowise session
-
DeliveryCraft AllChatflows.json with SQLi payload in chatflow.id
-
ExploitPOST file to importChatflows API
-
ExecutionInjected SQL executes in IN clause
-
PersistBlind/error-based extraction of credential table
-
ImpactExfiltrate 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 |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Flowise versions before 3.0.1 allow unauthenticated access to the Custom MCPs feature, which is designed to execute OS c
FlowiseAI Flowise version 2.2.6 contains an arbitrary file upload vulnerability in the /api/v1/attachments endpoint. Una
Arbitrary file read and write in Flowise versions prior to 3.0.8 allows an authenticated attacker with access to the flo
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Flowise is a drag & drop user interface to build a customized large language model flow. Rated critical severity (CVSS 9
Authenticated users can upload arbitrary files to Flowise 3.0.7 due to missing validation, enabling persistent storage o
Unrestricted file upload in Flowise LLM workflow builder before 3.0.13 via /api/v1/attachments endpoint allows unauthent
Missing authentication on NVD data endpoint in Flowise before 3.0.13 allows unauthenticated access to internal vulnerabi
Authenticated remote code execution in FlowiseAI Flowise (v3.0.1 up to but not including 3.0.8, and later versions when
Remote code execution in Flowise before 3.1.3 arises because its Pyodide Python-code validator (validatePythonCodeForDat
Remote code execution in FlowiseAI Flowise before 3.1.3 lets an attacker execute arbitrary OS commands as the Flowise pr
EUVD-2025-210326
GHSA-9c4c-g95m-c8cp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB