Flowise allows deleting the wrong flow type with limited permission
What this means
A person with permission to delete only agent flows can delete chat flows instead, and vice versa. This can destroy production configurations and cause downtime or data loss. Teams relying on role-based access control to separate duties will find that separation broken.
SecurityElites Manager Brief: the decision in one minute
Flowise does not check whether a user's delete permission matches the type of flow they are deleting. Someone with limited delete rights can remove flows they should not be able to touch, breaking your access controls and risking configuration loss.
| SecurityElites Fix-First Score | 43 of 100 Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity. |
|---|---|
| SecurityElites fix window | Within 30 days High severity. This is our suggestion from common practice; your own policy comes first. |
| Who should own the fix | Platform or infrastructure team managing Flowise. |
| Likely effort | About 15 minutes per Flowise instance: a version bump to 3.1.3 and a restart. No other changes needed. |
Questions to ask your team or supplier
- Do we use role-based access control in Flowise, with different users granted different delete permissions? If so, we need this fix urgently.
- Have we checked our API key audit logs to see if any restricted-permission keys were used to delete flows of the wrong type?
- What is our process for restoring deleted flows, and do we have backups we can trust?
Message you can forward to the owning team
Security notice: Flowise allows deleting the wrong flow type with limited permission (CVE-2026-69262)
Severity: High
SecurityElites Fix-First Score: 43 of 100
SecurityElites fix window: Within 30 days
Action: upgrade to flowise 3.1.3 or later.
What we need from you: confirm whether we run this software, who owns it, and the date it will be fixed.
Full guide: https://securityelites.com/ai-vulnerabilities/cve-2026-69262-flowise-allows-deleting-the-wrong-flow-type-with-limited/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-01667What is at stake in your AI setup
- Agent flow definitions and configurations: users with limited delete rights can destroy agent flows, disrupting production agents.
- Chat flow definitions and configurations: users with agent delete rights can destroy chat flows, disrupting chat services.
- Connected tools and integrations: flows define which external systems an agent can reach; deleting a flow removes that authorization binding.
Who is exposed
- Teams using Flowise with multiple users and role-based permissions (some users can delete only chat flows, others only agent flows).
- Workspaces where people have intentionally restricted delete permissions to separate duties.
- API integrations using API keys with partial delete permissions.
Upgrades you need
| Software | Affected versions | Move to |
|---|---|---|
| flowise npm | Every version before 3.1.3 | 3.1.3 or later |
Am I affected?
Enter the version you run. Nothing you type is stored.
SecurityElites Developer Brief: the technical picture
| Is it being attacked | Working attack code is public, so expect attacks to follow |
|---|---|
| Where the attacker must be | Anywhere that can reach it over a network, including the internet if it is exposed |
| Account needed | An ordinary user account |
| Does a person have to do something | No. It works without anyone clicking or opening anything |
| How hard it is to do | Easy. It works reliably once the attacker can reach it |
| Risk of: data being read | None |
| Risk of: data or settings being changed | None |
| Risk of: the service being taken down | High |
| Can attackers automate it at scale | Yes, according to CISA |
| How much control an attacker gains | Partial control, according to CISA |
Read from the official severity rating: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Kind of coding mistake
- CWE-863: a permission check is wrong
If you cannot upgrade today
- Until you can upgrade, restrict all delete permissions: assign delete rights to only administrators or a small trusted team, and avoid granting `agentflows:delete` or `chatflows:delete` to separate users.
- Rotate API keys that have partial delete permissions and issue new keys only to trusted services after upgrade.
- Enable audit logging in Flowise if available, and monitor DELETE requests to `/api/v1/chatflows/*` daily.
Signs it may already have been used against you
- In access or API logs, search for successful DELETE requests to `/api/v1/chatflows/*` made by API keys or users with only `agentflows:delete` permission, or successful deletes by `chatflows:delete` users. HTTP 200 response means the unautho
- Look for DELETE requests followed by a 404 error on the same resource ID in a short time window, which may indicate a flow was deleted by an unauthorized caller.
- Audit logs should show which flows were deleted and by whom. Cross-check that the deleter had the correct permission for that flow type.
SecurityElites Fix Guide: step by step
- Find where Flowise is runningList all servers or containers running Flowise, including the version number. Check your deployment system (Docker, Kubernetes, npm, cloud platform) to see what is installed.
- Check the current versionOn each Flowise instance, verify the installed version. Use `npm list flowise` for npm-based installs, or check the container image tag for Docker deployments.
- Back up the database and configurationsExport or snapshot the Flowise database and any saved flows before upgrading. This protects against accidental loss during the update.
- Upgrade to version 3.1.3 or laterUpdate Flowise using your package manager or deployment method. For npm: update the package, then restart the service. For Docker: pull the new image and restart the container.
- Restart Flowise and verify it starts cleanlyAfter upgrading, restart the Flowise service and confirm it comes up without errors. Check logs for any startup issues or warnings.
- Test that permission boundaries now workWith a user or API key that has only `agentflows:delete` permission, try to delete a chat flow. Confirm the request is now rejected (not 200 OK). Do the same with a user who has only `chatflows:delete` and verify they cannot delete an agent flow.
- Review access logs for past unauthorized deletesSearch access and audit logs from before the upgrade for DELETE requests to `/api/v1/chatflows/:id` by users or API keys with only `agentflows:delete` or `chatflows:delete` permission. Look for requests that succeeded (HTTP 200) but should have been blocked.
- Restore any flows that were deleted without authorizationIf the audit reveals unauthorized deletions, restore those flows from your backup or version control. Notify the owners of those flows about what was deleted and when.
How to confirm it is fixed: Confirm the installed Flowise version is 3.1.3 or later, and test that a user with only `agentflows:delete` permission receives an error when trying to delete a chat flow.
SecurityElites Quick Fixes: copy and paste
Upgrade flowise with npmupgrade
npm install flowise@3.1.3
npm ls flowiseCheck Flowise version with npmfor this issue
npm list flowiseRequire sign-in with nginx in front of the servicegeneral hardening
location / {
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/.htpasswd;
proxy_pass http://127.0.0.1:8080;
}Test in a non-production environment first. General hardening examples use placeholder names and ports; change them to match your setup.
Let your AI coding assistant do the upgrade
Paste this into the coding assistant you already use, inside the project. It checks first and asks before it changes anything.
Instruction for your coding assistant
You are helping me fix a security vulnerability (CVE-2026-69262) in this project.\n\n1. Search the whole repository, including lock files, container files and CI configuration, for these packages and list every place they are pinned or installed:\n - flowise (npm): must be 3.1.3 or later
2. Tell me which version we use now and whether it is affected. Stop and ask me before changing anything.
3. After I agree, raise each one to the safe version, update the lock files, and keep every other dependency as it is.
4. Run the tests and tell me what failed.
5. Give me a short summary of the files you changed that I can put in the pull request.SecurityElites Incident Drill: could your team handle this?
Four questions to ask in your next team meeting. If any has no clear answer, that is the gap to close.
Ticket for your backlog
Paste into Jira, GitHub Issues or any tracker that reads Markdown.
Ready-made ticket
## Flowise allows deleting the wrong flow type with limited permission (CVE-2026-69262)
**Severity:** High | **SE Fix-First Score:** 43/100 | **Fix window:** Within 30 days
**Record:** SE-AIV-01667 https://securityelites.com/ai-vulnerabilities/cve-2026-69262-flowise-allows-deleting-the-wrong-flow-type-with-limited/
### Why this matters
A person with permission to delete only agent flows can delete chat flows instead, and vice versa. This can destroy production configurations and cause downtime or data loss. Teams relying on role-based access control to separate duties will find that separation broken.
### What to do
1. Find where Flowise is running
2. Check the current version
3. Back up the database and configurations
4. Upgrade to version 3.1.3 or later
5. Restart Flowise and verify it starts cleanly
6. Test that permission boundaries now work
7. Review access logs for past unauthorized deletes
8. Restore any flows that were deleted without authorization
Full steps: https://securityelites.com/ai-vulnerabilities/cve-2026-69262-flowise-allows-deleting-the-wrong-flow-type-with-limited/
### Done when
- [ ] flowise is at 3.1.3 or later everywhere it is installed
- [ ] Lock files, container images and CI configuration are updated
- [ ] Confirm the installed Flowise version is 3.1.3 or later, and test that a user with only `agentflows:delete` permission receives an error when trying to delete a chat flow.
- [ ] Logs were checked for signs of earlier use
SecurityElites Fix Tracker
Record who owns this fix, the date it is due and when it is done, and see everything still open in one list. Free with a SecurityElites account.
Related vulnerabilities
In the same software
- Flowise CSV and Airtable agents allow data theft via prompt injection Critical · CVE-2026-73487
- Flowise can run commands and read files outside its sandbox Critical · CVE-2026-119978
- Flowise OAuth2 token endpoint open to anyone, leaks access tokens Critical · CVE-2026-70478
- Flowise CSV Agent can run Python code sent by attackers Critical · CVE-2026-70477
- Flowise allows authenticated users to change other organizations' billing High · CVE-2026-70476
- Flowise allows any authenticated user to change execution records without permission check High · CVE-2026-70475
The same kind of mistake in other AI tools
- BaaRai ARTEX admin account can be claimed without authentication on first run Critical · CVE-2026-140422
- BaaRai ARTEX admin login can be guessed without limits or lockouts Critical · CVE-2026-140365
- NLTK dependency parser crashes on long sentences High · CVE-2026-129222
- NLTK regex compilation denial of service via many groups High · CVE-2026-129229
- Model Context Protocol SDK tasks can be read by other clients sharing the store High · CVE-2026-111767
Change history
- 4 Aug 2026: Made public
- 2 Dec 2026: Published
Official record
# 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:delete` can be used to delete `CHATFLOW` - `chatflows:delete` can be used to delete `AGENTFLOW`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:1. Log in as a user who can create API keys. 2. Create a normal `CHATFLOW` and record its `id`. 3. Create an API key with only `agentflows:delete`. 4. Use that API key to send:```bash curl -i -X DELETE \ -H 'Authorization: Bearer <agentflows_delete_only_key>' \ http://localhost:8080/api/v1/chatflows/<chatflow_id> ```5. Observe a `200 OK` response, for example:```json {"raw":[],"affected":1} ```6. Read the same `id` again and observe `404 Not Found`.
Weakness type: CWE-863
Use this record in your own tools
Get this record as JSON
curl https://securityelites.com/wp-json/se-aivd/v1/vulns/CVE-2026-69262For scanners and pipelines: OSV format · CycloneDX format · API guide · Email alerts · Fix tracker
The plain-language sections were written with AI from the official record, and the upgrade versions come directly from the official data. Last updated 2 Dec 2026. Read the vendor advisory before changing a production system.