PT-2026-51761 · Flowise · Flowise

·

CVE-2025-71332

·

Published

2025-04-07

·

Updated

2026-06-26

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Flowise versions prior to 2.2.8
Description An authenticated user can execute arbitrary SQL commands, including blind and error-based data extraction from the credential table, due to insufficient validation of the id field in JSON import files. The issue occurs because the id value is concatenated unsanitized into a SQL IN clause within the importChatflows() function. This affects the '/api/v1/chatflows/importchatflows' endpoint. Additionally, the importTools() and importVariables() functions are also identified as vulnerable. A separate issue allows a malicious user to include path traversal sequences (e.g., ../) in the id field of a crafted JSON file to potentially access unauthorized paths when the file is imported and accessed.
Recommendations Update to version 2.2.8 or later. Restrict the format of all chatflow and chat IDs to UUIDs to prevent the injection of arbitrary strings. As a temporary mitigation, restrict access to the '/api/v1/chatflows/importchatflows' endpoint and avoid importing JSON files from untrusted sources.

Exploit

Fix

SQL injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2025-71332
GHSA-9C4C-G95M-C8CP

Affected Products

Flowise