Flowise: Missing authorization on `/api/v1/files` allows low-privileged API keys to list and delete files across workspaces within the same organization
Description
Flowise is a drag & drop user interface to build a customized large language model flow. Prior to 3.1.3, the /api/v1/files route was protected only by the feat:files feature gate and did not enforce checkPermission on GET or DELETE. A low-privileged authenticated API key with unrelated permissions could call GET /api/v1/files to list files under the organization storage root and DELETE /api/v1/files?path=... to delete files belonging to other workspaces in the same organization because getAllFiles and deleteFile used activeOrganizationId and a user-controlled path without restricting access by permissions or activeWorkspaceId. This issue is fixed in version 3.1.3.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
flowisenpm | < 3.1.3 | 3.1.3 |
Affected products
1Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-wp74-f5hh-5f3rghsaADVISORY
- github.com/FlowiseAI/Flowise/commit/bc22bf8baec95b6a3d6e1b3563b4f03491cd6fbbghsax_refsource_MISCWEB
- github.com/FlowiseAI/Flowise/pull/6435ghsax_refsource_MISCWEB
- github.com/FlowiseAI/Flowise/releases/tag/[email protected]ghsax_refsource_MISCWEB
- github.com/FlowiseAI/Flowise/security/advisories/GHSA-wp74-f5hh-5f3rghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.