Flowise - LFI (CVE-2025-71334)
Description
Flowise before 3.0.6 (affected versions 2.2.8 and earlier) contains an arbitrary file access vulnerability due to missing validation that the chatflowId and chatId parameters are UUIDs or numbers in file handling operations. By supplying a path-traversal value (e.g., '../../../../../tmp') as the chatflow id, an unauthenticated attacker can use the /api/v1/chatflows endpoint (via addBase64FilesToStorage) to write arbitrary files, and the /api/v1/get-upload-file and /api/v1/openai-assistants-file/download endpoints (via streamStorageFile) to read arbitrary files. Arbitrary file write may lead to remote code execution.
psychologyCrowdSec Analysis
CVE-2025-71334 is a critical arbitrary file access vulnerability in Flowise before 3.0.6, caused by insufficient validation of chatflow and chat identifiers. Unauthenticated remote attackers can exploit path traversal to read sensitive files or write arbitrary files through exposed API endpoints, potentially enabling remote code execution and full compromise of the affected server.
CrowdSec has been tracking this vulnerability and its exploits since 3rd of August 2026.
CrowdSec network observations suggest that most exploitation of CVE-2025-71334 involves focused reconnaissance to identify viable targets. Attackers typically tailor their campaigns based on system exposure and configuration. It is unlikely that a given attack is accidental. Data from the CrowdSec community also indicates a gradual decrease in attacks targeting CVE-2025-71334. While still present in the wild, exploitation levels have dropped noticeably week-over-week. This may signal that the vulnerability is becoming less relevant or that defenses are improving fast enough for attackers to lose interest.
Attackers target the /api/v1/chatflows endpoint with a JSON id containing directory traversal sequences such as ../../../../../../../../tmp. The crafted flowData embeds a data URI and filename, abusing insufficient path validation to write files outside the intended storage directory; requests commonly include Content-Type: application/json and x-request-from: internal.
Full Intelligence Available
Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.
| Event | Date |
|---|---|
| CVE Published | 2026-06-25 |
| Rule Released | 2026-08-03 |
| CrowdSec First Seen | 2026-09-05 |
Remediation & Protection
External References
- https://www.vulncheck.com/advisories/flowise-arbitrary-file-access-via-missing-chat-flow-id-validation
- https://github.com/FlowiseAI/Flowise/commit/c2b830f279e454e8b758da441016b2234f220ac7
- https://github.com/FlowiseAI/Flowise/commit/8bd3de41533de78e4ef6c980e5704a1f9cb7ae6f
- https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-q67q-549q-p849
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-71334.yaml