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

CVE-2026-42863: FlowiseAI has Mass Assignment in Chatflow Update Endpoint that Allows Cross-Workspace AgentFlow Reassignment

highCVSS 4.0 7.6GHSA-5wxp-qjgq-fx6m

PUT /api/v1/chatflows/{chatflowId} in Flowise 3.1.1 and earlier lets a logged-in user set deployed, isPublic and workspaceId on a chatflow. That allows cross-workspace takeover of flows and exposure of private ones. Fixed in flowise 3.1.2.

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

What an attacker can do

The chatflow update endpoint takes the whole JSON body and merges it into the chat_flow entity. There is no strict DTO allowlist and no workspace ownership check. The advisory lists seven fields a client can set: deployed, isPublic, workspaceId, createdDate, updatedDate, category and type.

The researcher created a second workspace in the database and sent a PUT with workspaceId, deployed true and isPublic true. The response returned those values, and a SQL query on chat_flow showed the chatflow now belonged to the attacker's workspace. This goes further than the variable and tool variants, because chatflows are the agents themselves. An attacker can flip a private flow to public, mark it deployed, or move it into a workspace they control. The advisory names three outcomes: cross-workspace workflow takeover, exposure of private workflows, and manipulation of deployed agent workflows. It needs a valid login and a chatflow ID.

Who is affected

The npm package flowise at 3.1.1 and earlier. Multi-workspace deployments with users who should not reach each other's flows are most exposed. Check your version:

npm ls flowise

For Docker, read 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 3.1.2 release notes list mass assignment and IDOR fixes. The advisory text offers no workaround. Until you upgrade, limit accounts on shared instances and review which flows are marked public.

How to tell if you were hit

Run the researcher's check against your own database: select id and workspaceId from chat_flow and look for flows sitting in a workspace that did not create them. List flows with isPublic or deployed set to true that their owners did not publish. Check access logs for PUT /api/v1/chatflows/ calls with workspaceId, isPublic or deployed in the body.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

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

The endpoint allows clients to modify server-controlled properties such as deployed, isPublic, workspaceId, createdDate, and updatedDate when updating a chatflow object.

Due to missing server-side validation and authorization checks, an authenticated user can manipulate internal attributes of a chatflow and reassign it to another workspace. This allows cross-workspace resource reassignment and unauthorized modification of deployment and visibility settings.

Details

The endpoint responsible for updating chatflows:

PUT /api/v1/chatflows/{chatflowId}

accepts a JSON request body containing the chatflow configuration (flowData) along with other metadata fields.

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.

Examples of server-controlled fields that can be manipulated include:

  1. deployed
  2. isPublic
  3. workspaceId
  4. createdDate
  5. updatedDate
  6. category
  7. type

These fields appear to be directly mapped to the underlying database entity when processing the update request, suggesting that the server performs a direct merge of the request body into the chatflow model without applying a strict DTO whitelist or authorization checks.

For example, modifying the request body with:

{
  "deployed": true,
  "isPublic": true,
  "createdDate": "1999-03-06T10:59:32.000Z",
  "updatedDate": "1999-03-06T13:21:34.000Z",
  "workspaceId": "11111111-2222-3333-4444-555555555555"
}

results in the server accepting and persisting these values.

In testing, a second workspace was created in the database and the workspaceId field was successfully modified through the API request. The chatflow was reassigned to the attacker-controlled workspace, confirming that the application does not enforce workspace ownership validation.

PoC

Authenticate to the Flowise interface.

Capture the request used to update a chatflow:

PUT /api/v1/chatflows/<CHATFLOW_ID>
Content-Type: application/json

Modify the request body by injecting additional fields:

{
  "name": "test-flow",
  "flowData": "{...}",
  "deployed": true,
  "isPublic": true,
  "workspaceId": "11111111-2222-3333-4444-555555555555"
}

Send the request.

Observe that the response returns the manipulated values:

{
  "deployed": true,
  "isPublic": true,
  "workspaceId": "11111111-2222-3333-4444-555555555555"
}

Verify in the database that the chatflow has been reassigned:

SELECT id, workspaceId FROM chat_flow WHERE id='<CHATFLOW_ID>';

The workspaceId value reflects the attacker-supplied workspace.

Impact

This vulnerability allows authenticated users to manipulate server-controlled attributes of chatflows.

Confirmed impacts include:

  • Unauthorized modification of chatflow visibility (isPublic)
  • Unauthorized deployment state changes (deployed)
  • Cross-workspace reassignment of chatflows (workspaceId)
  • Unauthorized modification of metadata (createdDate, updatedDate)

In multi-tenant environments, this allows an attacker to move chatflows between workspaces without authorization, breaking tenant isolation boundaries.

This may enable:

  • Cross-workspace workflow takeover
  • Unauthorized exposure of private workflows
  • Manipulation of deployed agent workflows

The issue stems from missing authorization checks and improper handling of client-controlled input in the chatflow update endpoint.

Credited to berkdedekarginoglu.

Questions

How is CVE-2026-42863 different from the Flowise variable and tool advisories?

It targets chatflows, so it can also change deployed and isPublic. That can publish private agent flows. The variable and tool ones only reassign workspaceId and edit dates.

Does the attacker need to be logged in?

Yes. Any authenticated user can send the request. The CVSS 4.0 vector requires low privileges and rates attack complexity as high.

Which release fixes it?

flowise 3.1.2. Releases 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