NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · Flowise

CVE-2026-46441: FlowiseAI has Mass Assignment in Assistant Update Endpoint that Allows Cross-Workspace Resource Reassignment

highCVSS 4.0 7.6GHSA-hp26-q66v-q2w7

The Flowise assistant update endpoint, `PUT /api/v1/assistants/{assistantId}`, copies client-supplied fields straight into the database entity. A logged-in user can set `workspaceId` and move an assistant into any workspace, breaking tenant isolation. Versions up to 3.1.1 are affected. Upgrade to 3.1.2.

Published May 14, 2026 · Updated Jun 9, 2026 · Analysis Oct 27, 2026

What an attacker can do

This is mass assignment (CWE-915). The update handler does not whitelist which properties a client may change. A request body that adds workspaceId, createdDate or updatedDate is accepted and saved. The PoC sends a normal assistant update with type: CUSTOM and an injected workspaceId of 11111111-2222-3333-4444-555555555555, and the response persists it.

The confirmed effects are reassigning an assistant to another workspace and rewriting its date metadata. In a multi-workspace deployment, that moves an object across the boundary that is meant to separate teams. The advisory frames it as a break in tenant isolation. It does not report reading data from another workspace.

The attacker needs an authenticated Flowise account and the assistant's ID. Assistants carry a credential reference, so moving an assistant between workspaces can also change who can see and use the object tied to that credential. Single-workspace deployments have no boundary to cross, so exposure is small there. The CVSS 4.0 vector rates it high complexity, low privileges, with high confidentiality and integrity impact.

Who is affected

The flowise npm package up to and including 3.1.1 is affected. Risk is highest on instances with several workspaces or tenants, such as the enterprise multi-workspace setup.

Check the version:

npm ls flowise

For Docker, check the image tag.

flowise

Ecosystem
npm
Affected
<= 3.1.1
Fixed in
3.1.2
Check
npm ls flowise

How to fix it

Upgrade to flowise 3.1.2:

npm install -g [email protected]

The advisory names no workaround and no code diff. The usual remedy for this class of flaw is a whitelist of editable fields plus an authorization check on workspace changes. After upgrading, review which workspace each assistant sits in and move back any that you did not place.

How to tell if you were hit

Look in API logs for PUT /api/v1/assistants/ requests whose bodies include workspaceId, createdDate or updatedDate. A normal client edit has no reason to send them.

Check assistants whose workspace changed without an admin action, and assistants whose createdDate is later than their first appearance in your logs or backups. Compare the current assistant list per workspace with a recent backup.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

A Mass Assignment vulnerability exists in the assistant update endpoint of FlowiseAI.

The endpoint allows authenticated users to modify server-controlled properties such as workspaceId, createdDate, and updatedDate when updating an assistant resource.

Due to missing server-side validation and authorization checks, an attacker can manipulate the workspaceId field and reassign assistants to arbitrary workspaces. This breaks tenant isolation in multi-workspace environments.

Details

The endpoint responsible for updating assistants:

PUT /api/v1/assistants/{assistantId}

accepts a JSON request body containing assistant metadata.

However, the server does not restrict which properties may be modified by the client. As a result, user-controlled request bodies can include additional fields that should normally be controlled only by the backend.

Server-controlled fields that can be manipulated include:

  1. workspaceId
  2. createdDate
  3. updatedDate

These fields appear to be directly mapped to the underlying database entity without strict DTO whitelisting or authorization checks.

For example, the following request body was accepted:

{
  "details": "",
  "credential": "11ca7fef-c9b1-4c87-aa54-e547aed8a249",
  "iconSrc": null,
  "type": "CUSTOM",
  "createdDate": "2026-03-06T17:31:04.000Z",
  "updatedDate": "2026-03-06T17:31:55.000Z",
  "workspaceId": "11111111-2222-3333-4444-555555555555"
}

This indicates that internal, server-controlled properties can be modified by an authenticated user.

PoC

  1. Authenticate to the Flowise interface.
  2. Capture the request used to update an assistant:
PUT /api/v1/assistants/<ASSISTANT_ID>
Content-Type: application/json

Modify the request body by injecting server-controlled fields:

{
  "details": "",
  "credential": "11ca7fef-c9b1-4c87-aa54-e547aed8a249",
  "iconSrc": null,
  "type": "CUSTOM",
  "createdDate": "2026-03-06T17:31:04.000Z",
  "updatedDate": "2026-03-06T17:31:55.000Z",
  "workspaceId": "11111111-2222-3333-4444-555555555555"
}

3.Send the request.

Observe that the response accepts and persists the attacker-controlled workspaceId and metadata fields.

Impact

This vulnerability allows authenticated users to manipulate internal attributes of assistant resources.

Confirmed impacts include:

  • Cross-workspace reassignment of assistants (workspaceId)
  • Unauthorized modification of metadata (createdDate, updatedDate)

In multi-tenant deployments, this may allow an attacker to move assistants between workspaces without authorization, breaking tenant isolation boundaries.

Credited to berkdedekarginoglu.

Questions

What can a user change through the Flowise assistant update endpoint?

Fields the server should control: workspaceId, createdDate and updatedDate. The server accepted and saved them in the PoC.

Does this let attackers read another workspace's data?

The advisory confirms only reassignment of assistants across workspaces and metadata edits. It describes it as a break in tenant isolation, not as a read of other tenants' data.

Which Flowise release is fixed?

3.1.2. Versions up to and including 3.1.1 are affected.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More Flowise vulnerabilities

All Flowise entries