CVE-2026-69262: Flowise: `DELETE /api/v1/chatflows/:id` does not validate resource type, allowing `agentflows:delete` and `chatflows:delete` to delete each other’s flow type
In Flowise 3.1.2 and earlier, `DELETE /api/v1/chatflows/:id` accepts either `chatflows:delete` or `agentflows:delete` and never checks the flow's type. A user or API key with only one of these permissions can delete flows of the other type in the same workspace. Upgrade to 3.1.3.
Published Aug 4, 2026 · Analysis Nov 8, 2026
What an attacker can do
The route is guarded by checkAnyPermission('chatflows:delete,agentflows:delete'), so holding either permission reaches the delete code. That code finds the record by id and workspaceId and deletes it by id, without comparing the record's type to the permission that was granted. Nothing ties a permission to a flow type.
The reporter created a normal CHATFLOW, made an API key with only agentflows:delete, and sent DELETE /api/v1/chatflows/{chatflow_id}. The reply was 200 OK with {"raw":[],"affected":1}, and a later read of the same ID returned 404. The same works the other way: chatflows:delete can remove an AGENTFLOW.
The attacker needs a login or API key with one of the two delete permissions, and the target flow's ID in the same workspace. The harm is unauthorised deletion and loss of configuration. It does not give read access or code execution. For teams that split chatflow and agentflow management between different people or automation keys, the RBAC separation does not hold.
Who is affected
The npm package flowise at 3.1.2 and earlier. It matters most where roles or API keys give only one of chatflows:delete and agentflows:delete. If every deleter holds both permissions, the bug adds no new access.
npm ls flowiseReview your roles and API keys for single-domain delete permissions.
flowise
- Ecosystem
- npm
- Affected
- <= 3.1.2
- Fixed in
- 3.1.3
- Check
npm ls flowise
How to fix it
Upgrade flowise to 3.1.3:
npm install -g [email protected]Per the review summary of pull request 6445, deletion is now allowed based on the user's specific permissions or organization admin status, and the rules differ by flow type: chatflows, agentflows, multi-agents and assistants. We could not see the diff itself, and the automated review flagged a possible gap for legacy flows with no type.
Until you upgrade, limit who holds either delete permission, remove delete rights from API keys that do not need them, and back up your flows.
How to tell if you were hit
Look in Flowise and proxy logs for DELETE /api/v1/chatflows/{id} made by accounts or API keys that hold only the other flow type's delete permission. Compare the flows that disappeared with what each team manages. Keep regular exports of chatflows and agentflows, so you can see what was removed and restore it.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
summary:
In Flowise, DELETE /api/v1/chatflows/:id authorizes requests with checkAnyPermission('chatflows:delete,agentflows:delete'). Possession of either permission is sufficient to reach the delete path. The delete logic does not validate the target resource type, allowing a caller with only agentflows:delete to delete a CHATFLOW, and a caller with only chatflows:delete to delete an AGENTFLOW.
details:
The delete route accepts either chatflows:delete or agentflows:delete. The subsequent logic only resolves the target record by id and workspaceId, then deletes by id without checking whether the target resource type matches the granted permission domain.
As a result, there is no binding between permission scope and flow type:
agentflows:deletecan be used to deleteCHATFLOWchatflows:deletecan be used to deleteAGENTFLOW
This breaks the intended RBAC separation between Chatflows and Agentflows.
impact:
Users authorized to manage only one flow type can delete the other flow type within the same workspace, resulting in unauthorized deletion and configuration loss.
reproduction steps:
- Log in as a user who can create API keys.
- Create a normal
CHATFLOWand record itsid. - Create an API key with only
agentflows:delete. - Use that API key to send:
curl -i -X DELETE \
-H 'Authorization: Bearer <agentflows_delete_only_key>' \
http://localhost:8080/api/v1/chatflows/<chatflow_id>- Observe a
200 OKresponse, for example:
{"raw":[],"affected":1}- Read the same
idagain and observe404 Not Found.
Credited to 360AlphaLab.
Questions
- Can this delete anything in the instance?
It crosses between chatflows and agentflows inside the workspace the caller already belongs to. It is not a cross-workspace flaw.
- Does it expose flow contents?
No. The advisory describes unauthorised deletion and configuration loss only.
- Which version fixes CVE-2026-69262?
Flowise 3.1.3 is the patched version. Versions up to 3.1.2 are affected.
- Am I affected if everyone has both delete permissions?
The bug adds no new capability in that case. It matters where roles or API keys hold only one of the two permissions.
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
