FlowiseAI Flowise
Flowise: Missing authorization on `/api/v1/files` allows low-privileged API keys to list and delete files across workspaces within the same organization
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 3.1.3
Fixed in 3.1.3
Mitigation
Upgrade Flowise to 3.1.3 or later.
References
- Vendor advisory github.com/FlowiseAI/Flowise/security/advisori…
- Patch github.com/FlowiseAI/Flowise/pull/6435
- Patch github.com/FlowiseAI/Flowise/commit/bc22bf8bae…
1 more
- Release notes github.com/FlowiseAI/Flowise/releases/tag/flow…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.