Description
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.
Published: 2026-06-24
Score: 8.5 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Flowise through version 2.2.7 contains a SQL injection flaw in the importChatflows API. An authenticated user can supply a crafted JSON import file whose id field is concatenated unsanitized into a SQL IN clause, enabling execution of arbitrary SQL. This can lead to blind or error‑based extraction of sensitive data from the credential table, compromising confidentiality, integrity, and availability of the underlying database.

Affected Systems

All Flowise releases up to and including version 2.2.7 are impacted, as the vulnerability exists in the core importChatflows code. No further version information was disclosed.

Risk and Exploitability

The CVSS score of 8.5 highlights a high severity with potential for data loss or corruption. Although the EPSS score is unavailable, the flaw is not currently listed in the CISA KEV catalog. Exploitation requires authenticated access to the API, so the likely attack vector involves a legitimate user role misusing the importChatflows endpoint to inject malicious SQL, resulting in database compromise and data exfiltration.

Generated by OpenCVE AI on June 24, 2026 at 13:33 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Flowise to a patched version (2.2.8 or later) once released by the vendor.
  • If an immediate upgrade is not feasible, restrict access to the importChatflows API to trusted users only and enforce least‑privilege principles.
  • Implement input validation to ensure the chatflow.id parameter is strictly numeric or use parameterized queries, mitigating the injection risk.
  • Deploy monitoring of database query logs to detect anomalous or malformed SQL statements that may indicate exploitation attempts.

Generated by OpenCVE AI on June 24, 2026 at 13:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-9c4c-g95m-c8cp FlowiseDB vulnerable to SQL Injection by authenticated users
History

Wed, 24 Jun 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 24 Jun 2026 12:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Flowise - SQL Injection in importChatflows API via chatflow.id Parameter
First Time appeared Flowiseai
Flowiseai flowise
Weaknesses CWE-89
CPEs cpe:2.3:a:flowiseai:flowise:*:*:*:*:*:*:*:*
Vendors & Products Flowiseai
Flowiseai flowise
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 8.5, 'vector': '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'}


Subscriptions

Flowiseai Flowise
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-06-24T18:31:32.371Z

Reserved: 2026-06-20T01:48:36.755Z

Link: CVE-2025-71332

cve-icon Vulnrichment

Updated: 2026-06-24T14:53:32.363Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-24T15:15:04Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')