# CVE-2026-46476: Flowise mass assignment in CustomTemplate allows cross-workspace takeover

Source: https://junglewise.ai/threats/cve-2026-46476-flowise-mass-assignment-in-customtemplate-allows-cross-workspace  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-08. Updated: 2026-06-09  
License: CC BY 4.0 with a link back

CVE-2026-46476 · Severity: high · CVSS 4 · Published 2026-06-08

FlowiseAI is an open-source tool used to build and manage AI workflows. A security flaw allows an authorized user in one workspace to move or 'take over' workflow templates belonging to other workspaces. This could lead to unauthorized access to proprietary AI templates or disruption of services for other users on the same platform.

Technologies: [FlowiseAI](https://junglewise.ai/threats/technologies/flowiseai), [flowise (npm)](https://junglewise.ai/threats/technologies/flowise). Vendors: [FlowiseAI](https://junglewise.ai/threats/vendors/flowiseai), [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2026-46476 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-46476 being exploited in the wild.

**How severe is CVE-2026-46476?** High severity, with a CVSS score of 4, published 8 June 2026.

**Which products and versions are affected?** FlowiseAI <= 3.1.1; flowise (npm) <= 3.1.1, SEMVER:introduced=0,fixed=3.1.2.

**Is there a fix for CVE-2026-46476?** Yes. flowise (npm): upgrade to 3.1.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-46476 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-46476?** Check whether you run FlowiseAI or flowise (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- flowise (npm): upgrade to 3.1.2 or later

  ```sh
  npm install flowise@3.1.2
  ```


## Technical details

A mass-assignment vulnerability exists in the CustomTemplate service due to the use of Object.assign() on the request body without an explicit field allowlist. An authenticated attacker can include a 'workspaceId' in a create or update request to reassign a template to a different workspace. This breaks workspace isolation and allows for cross-workspace data takeover or Insecure Direct Object Reference (IDOR) attacks. The vulnerability is located in 'packages/server/src/services/marketplaces/index.ts'. A fix is available in version 3.1.2 which implements a strict allowlist for object properties.

## Affected products

- FlowiseAI FlowiseAI <= 3.1.1

## Identifiers

- CVE-2026-46476
- GHSA-728h-4mwj-f2p4

## Timeline

- 2026-05-14: disclosed
- 2026-05-14: patched: Fixed in version 3.1.2
- 2026-05-14: advisory

## References

- [https://api.github.com/users/offset](https://api.github.com/users/offset)
- [https://github.com/offset](https://github.com/offset)
- [https://api.github.com/users/offset/gists%7B/gist_id%7D](https://api.github.com/users/offset/gists%7B/gist_id%7D)
- [https://api.github.com/users/offset/repos](https://api.github.com/users/offset/repos)
- [https://avatars.githubusercontent.com/u/114768995?v=4](https://avatars.githubusercontent.com/u/114768995?v=4)
- [https://api.github.com/users/offset/events%7B/privacy%7D](https://api.github.com/users/offset/events%7B/privacy%7D)

## Related threats

- [Duplicate Advisory: INVITED users auto-promoted via SSO email match (invite-token bypass)](https://junglewise.ai/threats/duplicate-advisory-invited-users-auto-promoted-via-sso-email-match-d290aa10)
- [Duplicate Advisory: Flowise contains an unauthenticated sandbox escape](https://junglewise.ai/threats/duplicate-advisory-flowise-contains-an-unauthenticated-sandbox-escape-8959e167)
- [Flowise incomplete credential redaction in API](https://junglewise.ai/threats/cve-2026-73604-flowise-incomplete-credential-redaction-in-api)
- [Flowise text-to-speech endpoint credential abuse via unauthenticated access](https://junglewise.ai/threats/cve-2026-73603-flowise-text-to-speech-endpoint-credential-abuse-via)
- [Flowise IDOR in payment source endpoint](https://junglewise.ai/threats/cve-2026-73488-flowise-idor-in-payment-source-endpoint)
