CVE-2025-71324

Flowise - Arbitrary File Read via chatId Parameter

Published Jun 25, 2026 CVSS 4.0 · 8.7 High EPSS 1.6% KEV · Not listed
Description
Flowise before 3.0.6 contains an arbitrary file read vulnerability in the chatId parameter of the /api/v1/get-upload-file and /api/v1/openai-assistants-file/download endpoints. The chatId value is not validated and is passed to streamStorageFile(), where a fallback file-lookup path constructed without the orgId is evaluated after the storage-directory containment check, allowing path traversal beyond the intended storage directory. Unauthenticated attackers can read sensitive files such as /root/.flowise/database.sqlite, exposing all database content in the default configuration.

Analysis

AI-generated

Technical impact

Flowise instances that run a version prior to 3.0.6 have an arbitrary file read weakness in the chatId parameter of the /api/v1/get-upload-file and /api/v1/openai-assistants-file/download endpoints. The parameter is not validated and is passed directly to streamStorageFile(), where a fallback file‑lookup path that excludes the orgId is evaluated after a storage‑directory containment check. This allows an attacker to perform path traversal and read any file on the host that the kernel process can access, including sensitive files such as /root/.flowise/database.sqlite. Exposure of the database content would reveal all stored data. The flaw falls under CWE‑73 Path Traversal.

Affected Systems

Vendors: Flowise. Product: Flowise. Affected versions: all releases older than 3.0.6.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity exploitation risk. Although no EPSS score is currently available and the vulnerability is not listed in the CISA KEV catalog, the flaw is exploitable by unauthenticated attackers through the publicly reachable HTTP endpoints. The lack of authentication and the parameter validation bug make the attack straightforward once the target is identified. The potential impact is the compromise of confidential database contents and the broader risk of further data exposure or subsequent attacks.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the Flowise 3.0.6 or later patch to eliminate the unvalidated chatId parameter.
  • If a patch cannot be applied immediately, restrict access to the /api/v1/get-upload-file and /api/v1/openai-assistants-file/download endpoints with authentication, network segmentation, or IP whitelisting to prevent unauthenticated use.
  • Re‑evaluate file system permissions to ensure that the Flowise process cannot read sensitive files such as database.sqlite; remove or restrict direct access to such files from the web server context.

Generated by OpenCVE AI on June 25, 2026 at 23:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Flowise before 3.0.6 contains an arbitrary file read vulnerability in the chatId parameter of the /api/v1/get-upload-file and /api/v1/openai-assistants-file/download endpoints. The chatId value is not validated and is passed to streamStorageFile(), where a fallback file-lookup path constructed without the orgId is evaluated after the storage-directory containment check, allowing path traversal beyond the intended storage directory. Unauthenticated attackers can read sensitive files such as /root/.flowise/database.sqlite, exposing all database content in the default configuration.
Title Flowise - Arbitrary File Read via chatId Parameter
First Time appeared Flowiseai
Flowiseai flowise
Weaknesses CWE-73
CPEs cpe:2.3:a:flowiseai:flowise:*:*:*:*:*:*:*:*
Vendors & Products Flowiseai
Flowiseai flowise
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses
  • CWE-73

    External Control of File Name or Path

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jun 30, 2026, 3:33 AM
Reserved
Jun 8, 2026, 8:44 PM
Status
Modified
Published
Jun 25, 2026, 10:16 PM
Modified
Oct 12, 2026, 9:10 PM