Flowise Broken Access Control in /api/v1/files
A broken access control vulnerability in Flowise versions 3.1.2 and earlier allows authenticated users with low-privileged API keys to list and delete files across different workspaces within the same organization.
Flowise versions 3.1.2 and earlier contain a broken access control vulnerability (CVE-2026-69252) in the /api/v1/files endpoint. The application fails to verify workspace-level permissions, only checking for a general feature flag. Consequently, any authenticated API key - regardless of assigned role - can list and delete files stored in any workspace belonging to the same organization. An attacker with a restricted API key can exfiltrate metadata about files in other workspaces or permanently delete sensitive assets, effectively bypassing the organization's intended workspace isolation boundaries.
Attack Chain
- Attacker creates or obtains an API key with minimal permissions (e.g.,
tools:view) via legitimate account access. - Attacker inspects the
/api/v1/filesendpoint to identify accessible file paths. - Attacker sends a
GETrequest to/api/v1/filesusing their low-privilegedAuthorization: Bearertoken. - The application logic fails to check
activeWorkspaceId, returning a list of all files across the entire organization. - Attacker parses the JSON response to extract paths belonging to target workspaces.
- Attacker sends a
DELETErequest to/api/v1/fileswith thepathparameter set to a file located in a foreign workspace. - The application performs the deletion using the organization ID context, successfully removing the unauthorized file.
Impact
Successful exploitation results in the unauthorized exposure of file metadata and destructive tampering of workspace data. An attacker can systematically delete files across an entire organization, leading to significant data loss and disruption of business processes for affected users and workspaces.
Recommendation
- Update Flowise to a version where CVE-2026-69252 is patched.
- Implement request monitoring for the
/api/v1/filesendpoint to identify users accessing paths outside their assigned workspace directory. - Deploy the Sigma rule below to detect unauthorized file deletion attempts by low-privileged API keys.
Immediate actions
Patch Flowise to latest version
Threat Hunt
Search logs for multiple successful DELETE requests to /api/v1/files from a single low-privileged API key.
Data: Web server access logs
Mitigations
Review all active API keys and their assigned permissions in Flowise.
CVE-2026-69252
Detection coverage 1
Detects CVE-2026-69252 Exploitation - Unauthorized File Deletion in Flowise
highDetects DELETE requests to the /api/v1/files endpoint that target paths containing workspace identifiers outside of the user's expected scope.
Detection queries are available on the platform. Get full rules →