GHSA-4pwq-xw7j-m297
Flowise versions before 3.0.6 have an arbitrary file read vulnerability in the chatId parameter of two API endpoints. The chatId parameter is not properly validated, allowing path traversal beyond the intended storage directory. This enables unauthenticated attackers to read sensitive files such as the default database file, exposing all database content.
AI Analysis
Technical Summary
Flowise before version 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 vulnerability arises because the chatId value is not validated and is passed to the streamStorageFile() function, where a fallback file-lookup path is constructed without including the orgId. This fallback path is evaluated after a storage-directory containment check, which can be bypassed, allowing path traversal outside the intended storage directory. As a result, unauthenticated attackers can access sensitive files such as /root/.flowise/database.sqlite, exposing all database content under default configurations.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to read arbitrary files on the server hosting Flowise, including sensitive files like the database file containing all stored data. This exposure can lead to significant data leakage and compromise of confidential information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability affects versions before 3.0.6, upgrading to version 3.0.6 or later is implied as a remediation step. Until an official fix is confirmed, restrict access to the affected endpoints and monitor for suspicious activity.
GHSA-4pwq-xw7j-m297
Description
Flowise versions before 3.0.6 have an arbitrary file read vulnerability in the chatId parameter of two API endpoints. The chatId parameter is not properly validated, allowing path traversal beyond the intended storage directory. This enables unauthenticated attackers to read sensitive files such as the default database file, exposing all database content.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Flowise before version 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 vulnerability arises because the chatId value is not validated and is passed to the streamStorageFile() function, where a fallback file-lookup path is constructed without including the orgId. This fallback path is evaluated after a storage-directory containment check, which can be bypassed, allowing path traversal outside the intended storage directory. As a result, unauthenticated attackers can access sensitive files such as /root/.flowise/database.sqlite, exposing all database content under default configurations.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to read arbitrary files on the server hosting Flowise, including sensitive files like the database file containing all stored data. This exposure can lead to significant data leakage and compromise of confidential information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability affects versions before 3.0.6, upgrading to version 3.0.6 or later is implied as a remediation step. Until an official fix is confirmed, restrict access to the affected endpoints and monitor for suspicious activity.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-4pwq-xw7j-m297
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-71324"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a3ef7d427e9c797190094f5
Added to database: 06/26/2026, 22:06:12 UTC
Last enriched: 06/26/2026, 22:39:33 UTC
Last updated: 06/27/2026, 00:11:21 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.