CVE-2026-42862: FlowiseAI has Mass Assignment in Tool Update Endpoint that Allows Cross-Workspace Resource Reassignment
PUT /api/v1/tools/{toolId} in Flowise 3.1.1 and earlier lets a logged-in user overwrite server-controlled fields. Setting workspaceId reassigns a custom tool to any workspace, which weakens tenant isolation. Upgrade to flowise 3.1.2.
Published May 14, 2026 · Updated Jun 9, 2026 · Analysis Oct 27, 2026
What an attacker can do
The tool update endpoint merges the request body directly into the tool entity, with no DTO allowlist and no ownership check. Besides the usual name, description, schema, func and iconSrc, the server also accepts workspaceId, createdDate and updatedDate. The researcher's proof of concept sent a made-up workspaceId and a 1995 createdDate, and the response echoed both back as stored.
A tool in Flowise can carry a JavaScript function body (func) that agents call. Moving a tool between workspaces therefore moves executable logic and any secrets referenced in its schema, not only a label. A tenant with a login can push their tool into another team's workspace, where its name may pass for a trusted one, or detach a tool from where it belongs. The advisory confirms reassignment and metadata edits and describes the result as broken tenant isolation in multi-tenant deployments. It needs a valid session and the tool ID, so the exposure is mostly shared, multi-workspace servers.
Who is affected
The npm package flowise at 3.1.1 and earlier. Deployments with several workspaces and users from different teams are the ones at risk. Check the installed version:
npm ls flowiseOr read the tag of the Docker image you run.
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 release notes for 3.1.2 list mass assignment and IDOR fixes among its access-control changes. The sources name no workaround. Until you upgrade, keep accounts on shared instances to people you trust.
How to tell if you were hit
Query the Flowise database for tools whose workspaceId does not match the workspace of the user who created them, or whose createdDate predates the record's real creation. Check access logs for PUT /api/v1/tools/ requests whose bodies include workspaceId. Review the func body of any tool that appeared in a workspace without its owner adding it.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
A Mass Assignment vulnerability exists in the tool update endpoint of FlowiseAI.
The endpoint allows authenticated users to modify server-controlled properties such as workspaceId, createdDate, and updatedDate when updating a tool resource.
Due to missing server-side validation and authorization checks, an attacker can manipulate the workspaceId field and reassign tools to arbitrary workspaces. This breaks tenant isolation in multi-workspace environments.
Details
The endpoint responsible for updating tools:
PUT /api/v1/tools/{toolId}
accepts a JSON request body containing tool 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:
- workspaceId
- createdDate
- updatedDate
The request body is directly merged into the underlying database entity without proper DTO validation or authorization checks.
PoC
Authenticate to the Flowise interface.
Capture the request used to update a tool:
PUT /api/v1/tools/<TOOL_ID>
Content-Type: application/json
Modify the request body by injecting additional fields:
{
"name": "aaa",
"description": "bbb",
"color": "linear-gradient(rgb(109,215,45), rgb(136,170,134))",
"schema": "[]",
"func": "",
"iconSrc": "test",
"workspaceId": "11111111-2222-3333-4444-555555555555",
"createdDate": "1995-03-06T14:17:50.000Z",
"updatedDate": "1995-03-06T14:17:50.000Z"
}
Send the request.
Observe that the response includes the manipulated fields:
{
"workspaceId": "11111111-2222-3333-4444-555555555555",
"createdDate": "1995-03-06T14:17:50.000Z"
}This confirms that client-controlled values are accepted and persisted by the server.
Impact
This vulnerability allows authenticated users to manipulate internal attributes of tool resources.
Confirmed impacts include:
- Cross-workspace reassignment of tools (workspaceId)
- Unauthorized modification of metadata (createdDate, updatedDate)
In multi-tenant deployments, this may allow an attacker to move tools between workspaces without authorization, breaking tenant isolation boundaries.
Credited to berkdedekarginoglu.
Questions
- What does CVE-2026-42862 let an attacker change?
workspaceId, createdDate and updatedDate on a tool, via PUT /api/v1/tools/{toolId}. Changing workspaceId moves the tool to another workspace.
- Is there a related issue in other endpoints?
Yes. Flowise published matching mass assignment advisories for variables (CVE-2026-42861) and chatflows (CVE-2026-42863). All are fixed in 3.1.2.
- Does it need an account?
Yes. The caller must be authenticated. The CVSS 4.0 vector requires low privileges.
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 entriesCVE-2026-73483
Flowise NodeVM sandbox escape via puppeteer allowlist - authenticated RCE and arbitrary file read via Chromium
critical9.4Oct 7, 2026CVE-2026-73487
Flowise Prompt Injection to RCE and SSRF via CSV/Airtable Agent Python Validator Bypass
critical9.0Oct 7, 2026CVE-2026-69250
Flowise: Unauthenticated OAuth2 Refresh Enables Non-Blind SSRF and Secret Exfiltration
high8.5Aug 4, 2026CVE-2026-69251
Flowise RCE via TypeORM DataSource
critical9.0Aug 4, 2026CVE-2026-69252
Flowise: Missing authorization on `/api/v1/files` allows low-privileged API keys to list and delete files across workspaces within the same organization
high7.2Aug 4, 2026CVE-2026-69253
Flowise Sandbox Escape to RCE
critical9.0Aug 4, 2026
