Browse / AI Framework and Platform Flaws / CVE-2024-36420
Flowise Path Injection at /api/v1/openai-assistants-file
- Class
- AI Framework and Platform Flaws (filed by a model that read the source)
- Technique
- Path traversal and file access
- Affected
- flowise (npm)
- CVSS
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS
- 1.8% chance of exploitation in 30 days
How it works, in short
The file endpoint uses an unsanitised fileName parameter, letting callers read arbitrary files on the server. (Our summary, written by a model. The source text is below.)
Details
Flowise is a drag & drop user interface to build a customized large language model flow. In version 1.4.3 of Flowise, the /api/v1/openai-assistants-file endpoint in index.ts is vulnerable to arbitrary file read due to lack of sanitization of the fileName body parameter. No known patches for this issue are available.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-36420
- https://github.com/FlowiseAI/Flowise
- https://github.com/FlowiseAI/Flowise/blob/e93ce07851cdc0fcde12374f301b8070f2043687/packages/server/src/index.ts#L982
- https://securitylab.github.com/advisories/GHSL-2023-232_GHSL-2023-234_Flowise
Source: GitHub Advisory Database, used under CC BY 4.0.