Summary
CVE-2025-71324 is a high-severity unauthenticated path traversal vulnerability in Flowise, the open-source AI agent and LLM workflow builder, affecting all versions prior to 3.0.6. By supplying crafted path traversal sequences in the unvalidated chatId parameter, a remote unauthenticated attacker can read arbitrary files from the server filesystem — including the default SQLite database — without any credentials. The vulnerability is tracked under GitHub Security Advisory GHSA-99pg-hqvx-r4gf and carries a CVSS 4.0 score of 8.7 (High).
Technical details
- Root cause: The
streamStorageFile()function, invoked by two API endpoints, validates thechatflowIdparameter (enforcing UUID format) and sanitizesfileName, but performs no validation whatsoever on thechatIdparameter. When the target file is not found at the initial path (which includesorgId), the function falls back to a secondary path constructed withoutorgId. This fallback is evaluated after the storage-directory containment check, meaning path traversal sequences (e.g.,../.././) inchatIdsuccessfully escape the intended storage boundary. - Trigger conditions: No authentication is required. The only prerequisite is a reachable Flowise instance. A valid
chatflowIdUUID can be independently leaked from the same instance via verbose error messages returned by the/api/v1/vector/upsert/endpoint. - Attack vector: Remote, over the network, via crafted HTTP GET requests to either vulnerable endpoint — no user interaction needed.
- Affected endpoints:
/api/v1/get-upload-file/api/v1/openai-assistants-file/download
- Impact: High-severity confidentiality breach. In the default Flowise configuration, attackers can read
/root/.flowise/database.sqlite, exposing the entire database including all stored API keys. Those API keys can subsequently be used to gain full administrative access to the Flowise instance and any integrated systems.
Affected software
- Flowise — all versions up to and including 3.0.5
Severity
- CVSS 4.0: 8.7 —
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - CVSS v3.1: 9.1 —
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Mitigation and recommended actions
- Immediate: Upgrade Flowise to version 3.0.6 or later, which contains the vendor-provided fix for this vulnerability.
- If immediate patching is not feasible:
- Restrict network access to the Flowise instance — place it behind a reverse proxy or firewall that limits access to trusted IP ranges only.
- Disable or block unauthenticated access to the
/api/v1/get-upload-fileand/api/v1/openai-assistants-file/downloadendpoints at the network perimeter. - Rotate all API keys stored in the Flowise database, as prior exposure cannot be ruled out on unpatched instances.
IONIX Status
The IONIX research team is tracking ongoing exploitation attempts and recommends immediate patching. Potentially affected assets are outlined in this post.

