Flowise before 3.0.6 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.
via cve_org
| Version | Type | Source | Base | Exp | Imp |
|---|---|---|---|---|---|
| 3.1 | Primary | cve.org | 9.8 | — | — |
| 3.1 | Primary | NVD | 9.8 | 3.9 | 5.9 |
| 3.1 | Primary | cve.org | 9.8 | — | — |
| 3.1 | Primary | cve.org | 9.8 | — | — |
| 3.1 | Primary | cve.org | 9.8 | — | — |
| 3.1 | Secondary | NVD | 9.8 | 3.9 | 5.9 |
| 3.1 | Secondary | GHSA | 9.8 | — | — |
| 4.0 | Primary | cve.org | 9.3 | — | — |
| 4.0 | Primary | cve.org | 9.3 | — | — |
| 4.0 | Primary | cve.org | 9.3 | — | — |
| 4.0 | Primary | cve.org | 9.3 | — | — |
| 4.0 | Secondary | NVD | 9.3 | — | — |
| 4.0 | Secondary | ENISA EUVD | 9.3 | — | — |
| 4.0 | Secondary | GHSA | 9.3 | — | — |