Skip to content
MediumVulnerability

GHSA-c2c9-mfw7-p8hw: Flowise: Cross-Workspace Chatflow Disclosure via chatflows/apikey Endpoint Returns All Unprotected Chatflows

Published
Record updated
View JSON
Affected
  • flowise <= 3.1.1
Fixed in
3.1.2

Summary

Flowise's `/api/v1/chatflows/apikey/:apikey` endpoint returns not only the chatflows bound to the supplied API key but also every chatflow with no API key assigned, across all workspaces, because the query in `packages/server/src/services/chatflows/index.ts` has no `workspaceId` filter when `keyonly` is omitted. Any user holding a valid API key in one workspace can read the full ChatFlow entities of other workspaces, including `flowData`, `chatbotConfig`, and `textToSpeech`/`speechToText` credential IDs. The source notes that most chatflows lack an API key, so the exposure is broad by default.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.