Skip to content
CriticalVulnerability

GHSA-q67q-549q-p849: Flowise has arbitrary file access due to missing chat flow id validation

Published
Record updated
View JSON
Affected
  • flowise >= 2.2.8, < 3.0.6
Fixed in
3.0.6
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
49.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Flowise, the open-source LLM app builder, does not validate the chatflowId and chatId values in some code paths, so they are used directly in file paths. Commits 8bd3de4 and c2b830f added checks on filename and on chatflowId and chatId for /api/v1/attachments, but the advisory says the same values are not checked to be UUIDs or numbers elsewhere. In the chatflow creation path, the unvalidated chatflowid from the request body is joined into a storage directory, enabling path traversal to write arbitrary files; the advisory notes that /api/v1/openai-assistants-file/download and /api/v1/get-upload-file are whitelisted, so the same traversal can be used to read storage files without authentication. The advisory lists arbitrary file read and write, remote code execution and data loss as impacts.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.