OSV 1.4.0 · github-reviewed · 修改于 2026-08-05 00:50
发布时间
2026-08-05 00:50
GitHub 审查时间
2026-08-05 00:50
NVD 发布时间
—
源文件
advisories/github-reviewed/2026/08/GHSA-p5w8-m249-4r4v/GHSA-p5w8-m249-4r4v.json
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.
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:delete can be used to delete CHATFLOWchatflows:delete can be used to delete AGENTFLOWThis breaks the intended RBAC separation between Chatflows and Agentflows.
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.
CHATFLOW and record its id.agentflows:delete.curl -i -X DELETE \
-H 'Authorization: Bearer <agentflows_delete_only_key>' \
http://localhost:8080/api/v1/chatflows/<chatflow_id>
200 OK response, for example:{"raw":[],"affected":1}
id again and observe 404 Not Found.