CVE-2025-71332
Received Received - Intake
SQL Injection in Flowise AI through 2.2.7

Publication date: 2026-06-24

Last updated on: 2026-06-24

Assigner: VulnCheck

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-24
Last Modified
2026-06-24
Generated
2026-06-24
AI Q&A
2026-06-24
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
flowise flowise 2.2.7
flowiseai flowise to 2.2.7 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Compliance Impact

The SQL injection vulnerability in Flowise through 2.2.7 allows authenticated users to execute arbitrary SQL commands, including extraction of sensitive data such as credentials stored in the database.

This unauthorized access and potential data leakage can lead to violations of data protection regulations and standards like GDPR and HIPAA, which require safeguarding sensitive personal and health information against unauthorized access and breaches.

Therefore, exploitation of this vulnerability could compromise confidentiality and integrity of sensitive data, negatively impacting compliance with these common standards and regulations.

Executive Summary

This vulnerability is a SQL injection issue in the Flowise application, specifically in the importChatflows API up to version 2.2.7.

It occurs because the chatflow.id parameter is not properly validated. An authenticated user can supply a specially crafted JSON import file where the id field contains malicious SQL code.

When this file is imported, the malicious id is concatenated unsanitized into a SQL IN clause, allowing arbitrary SQL commands to be executed on the database.

This can include blind and error-based extraction of sensitive data, such as credentials stored in the database.

Impact Analysis

This vulnerability can lead to unauthorized access and extraction of sensitive data from the Flowise application's database.

An attacker with authenticated access can execute arbitrary SQL commands, potentially compromising the confidentiality and integrity of stored credentials.

This could result in data breaches, unauthorized data manipulation, and further exploitation of the system.

Detection Guidance

Detection of this vulnerability involves monitoring for suspicious activity related to the importChatflows API, especially attempts to import crafted JSON files with malicious chatflow.id values.

Since the vulnerability requires authenticated access, reviewing logs for unusual importChatflows API usage or unexpected SQL errors can help identify exploitation attempts.

Commands to detect potential exploitation might include searching application logs for importChatflows API calls with unusual or non-UUID chatflow.id values.

  • Use grep or similar tools to find suspicious import attempts: grep -i 'importChatflows' /path/to/flowise/logs/*
  • Check for non-UUID patterns in imported JSON files or API requests.
  • Monitor database logs for unusual SQL queries or errors related to the chatflow.id parameter.
Mitigation Strategies

Immediate mitigation steps include restricting the chatflow.id values to UUIDs to prevent injection of malicious SQL payloads.

Since no patched versions are currently available, it is recommended to limit authenticated users' ability to import arbitrary JSON files and to monitor and audit importChatflows API usage closely.

  • Restrict chatflow.id inputs strictly to UUID format.
  • Limit access to the importChatflows API to trusted users only.
  • Implement additional input validation or filtering on the server side if possible.
  • Monitor logs for suspicious import activity and SQL errors.
Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-71332. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart