Skip to content
HighVulnerability

GHSA-728h-4mwj-f2p4: FlowiseAI: CustomTemplate create+update mass-assignment allows cross-workspace template takeover

Published
Record updated
View JSON
Affected
  • flowise <= 3.1.1
Fixed in
3.1.2
  • released April 14, 2026, 30 days before disclosure

Summary

The FlowiseAI CustomTemplate create and update paths in packages/server/src/services/marketplaces/index.ts copy the full request body onto the entity with Object.assign(newTemplate, body) and no field allowlist. A client-supplied workspaceId, and on create an id, is therefore persisted, letting any authenticated member who can edit a customtemplate move it into another workspace by UUID. The advisory rates this High and notes that workspace UUIDs are often exposed in API responses, which makes target enumeration simple.

Mitigation

Fixed in PR https://github.com/FlowiseAI/Flowise/pull/6129, which applies an explicit field allowlist pattern to the CustomTemplate create and update paths, matching commit 840d2ae for DocumentStore.