CVE-2026-46476: Flowise: mass assignment enables cross-workspace takeover
HIGH PoC AVAILABLEA mass assignment vulnerability (CWE-915) in Flowise's CustomTemplate endpoints allows any authenticated user to inject a foreign workspaceId during template create or update operations, breaking multi-tenant isolation and granting read/write access to another workspace's LLM flow templates. Flowise templates routinely embed API keys for OpenAI, Anthropic, and other LLM providers alongside system prompts and tool definitions, making this a potential pivot to credential theft and AI agent manipulation across tenant boundaries. No CVSS score or public exploit exists yet, but the attack requires only a valid account and crafted HTTP parameters — well within reach of any insider, compromised credential, or trial user on a shared instance. Upgrade to Flowise 3.1.2 immediately; if patching is delayed, restrict Flowise network access to trusted subnets and audit recent CustomTemplate API calls for workspace parameter manipulation.
What is the risk?
Medium-High in any multi-workspace Flowise deployment. The bar for exploitation is low — a valid account suffices, no admin privileges required — but impact depends on what secrets are embedded in cross-workspace templates. Organizations using Flowise for multi-tenant LLM delivery to customers or departments face a hard tenancy boundary failure. No KEV listing, no known public exploit, and no EPSS data are available, which tempers immediate urgency, but the attack surface is broad given Flowise's adoption in enterprise LLM orchestration.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| Flowise | npm | — | No patch |
Do you use Flowise? You're affected.
How severe is it?
What is the attack surface?
What should I do?
5 steps-
Patch immediately: upgrade all Flowise instances to version 3.1.2.
-
If patching is delayed, restrict Flowise to trusted internal networks via firewall rules and disable external access.
-
Audit HTTP logs for CustomTemplate POST/PUT requests containing workspaceId values that differ from the authenticated user's assigned workspace — this is the primary exploitation indicator.
-
Rotate all API keys embedded in Flowise templates across every workspace as a precautionary credential hygiene step.
-
Review CustomTemplate ownership history for anomalous cross-workspace assignments since the affected version was first deployed in your environment.
What does CISA's SSVC say?
Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-46476?
A mass assignment vulnerability (CWE-915) in Flowise's CustomTemplate endpoints allows any authenticated user to inject a foreign workspaceId during template create or update operations, breaking multi-tenant isolation and granting read/write access to another workspace's LLM flow templates. Flowise templates routinely embed API keys for OpenAI, Anthropic, and other LLM providers alongside system prompts and tool definitions, making this a potential pivot to credential theft and AI agent manipulation across tenant boundaries. No CVSS score or public exploit exists yet, but the attack requires only a valid account and crafted HTTP parameters — well within reach of any insider, compromised credential, or trial user on a shared instance. Upgrade to Flowise 3.1.2 immediately; if patching is delayed, restrict Flowise network access to trusted subnets and audit recent CustomTemplate API calls for workspace parameter manipulation.
Is CVE-2026-46476 actively exploited?
Proof-of-concept exploit code is publicly available for CVE-2026-46476, increasing the risk of exploitation.
How to fix CVE-2026-46476?
1. Patch immediately: upgrade all Flowise instances to version 3.1.2. 2. If patching is delayed, restrict Flowise to trusted internal networks via firewall rules and disable external access. 3. Audit HTTP logs for CustomTemplate POST/PUT requests containing workspaceId values that differ from the authenticated user's assigned workspace — this is the primary exploitation indicator. 4. Rotate all API keys embedded in Flowise templates across every workspace as a precautionary credential hygiene step. 5. Review CustomTemplate ownership history for anomalous cross-workspace assignments since the affected version was first deployed in your environment.
What systems are affected by CVE-2026-46476?
This vulnerability affects the following AI/ML architecture patterns: multi-tenant LLM orchestration platforms, no-code/low-code AI agent builders, agent frameworks, enterprise LLM workflow deployments.
What is the CVSS score for CVE-2026-46476?
CVE-2026-46476 has a CVSS v3.1 base score of 8.8 (HIGH). The EPSS exploitation probability is 0.34%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0049 Exploit Public-Facing Application AML.T0081 Modify AI Agent Configuration AML.T0083 Credentials from AI Agent Configuration AML.T0084 Discover AI Agent Configuration Compliance Controls Affected
What are the technical details?
Original Advisory
Flowise is a drag & drop user interface to build a customized large language model flow. Prior to version 3.1.2, CustomTemplate create and update mass-assignment allows cross-workspace template takeover. This issue has been patched in version 3.1.2.
Exploitation Scenario
An attacker registers or compromises a low-privilege Flowise account in workspace A of a shared enterprise instance. They intercept a legitimate CustomTemplate create request and observe the JSON body structure. They then craft a new POST to /api/v1/custom-templates with a workspaceId field set to the ID of workspace B — a separate team or customer tenant. Because the endpoint applies mass assignment without validating workspace membership, the server creates the template under workspace B's ownership. The attacker can then enumerate workspace B's templates, extract embedded OpenAI API keys and system prompts, or overwrite a production template to inject malicious tool invocations that execute on behalf of workspace B's users — effectively poisoning that tenant's AI agent without their knowledge.
Weaknesses (CWE)
CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes
Primary
CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes CWE-915 — Improperly Controlled Modification of Dynamically-Determined Object Attributes: The product receives input from an upstream component that specifies multiple attributes, properties, or fields that are to be initialized or updated in an object, but it does not properly control which attributes can be modified.
- [Implementation] If available, use features of the language or framework that allow specification of allowlists of attributes or fields that are allowed to be modified. If possible, prefer allowlists over denylists. For applications written with Ruby on Rails, use the attr_accessible (allowlist) or attr_protected (denylist) macros in each class that may be used in mass assignment.
- [Architecture and Design, Implementation] If available, use the signing/sealing features of the programming language to assure that deserialized data has not been tainted. For example, a hash-based message authentication code (HMAC) could be used to ensure that data has not been modified.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H References
Timeline
Related Vulnerabilities
CVE-2025-71338 10.0 Flowise: unauthenticated file write enables RCE
Same package: flowise CVE-2025-59528 10.0 Flowise: Unauthenticated RCE via MCP config injection
Same package: flowise CVE-2025-61913 9.9 Flowise: path traversal in file tools leads to RCE
Same package: flowise CVE-2026-40933 9.9 Flowise: RCE via MCP stdio command injection
Same package: flowise CVE-2026-46442 9.9 Flowise: sandbox escape enables authenticated RCE
Same package: flowise