Flowise: Mass Assignment in DocumentStore Create Endpoint Leads to Cross-Workspace Object Takeover (IDOR)
Flowise is a drag & drop user interface to build a customized large language model flow. Prior to 3.1.0, a Mass Assignment vulnerability in the DocumentStore creation endpoint allows authenticated users to control the primary key (id) and internal state fields of DocumentStore entities. Because the service uses repository.save() with a client-supplied primary key, the POST create endpoint behaves as an implicit UPSERT operation. This enables overwriting existing DocumentStore objects. In multi-workspace or multi-tenant deployments, this can lead to cross-workspace object takeover and broken object-level authorization (IDOR), allowing an attacker to reassign or modify DocumentStore objects belonging to other workspaces. This vulnerability is fixed in 3.1.0.
Problem Types
| Type | CWE ID | Description |
|---|
| CWE | CWE-284 | CWE-284: Improper Access Control |
| CWE | CWE-639 | CWE-639: Authorization Bypass Through User-Controlled Key |
| CWE | CWE-915 | CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes |
Type: CWE
Description: CWE-284: Improper Access Control
Type: CWE
Description: CWE-639: Authorization Bypass Through User-Controlled Key
Type: CWE
Description: CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes
Metrics
| Version | Base score | Base severity | Vector |
|---|
| 4.0 | 7.6 | HIGH | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N |
Version: 4.0
Base score: 7.6
Base severity: HIGH
Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N