Flowise forgot-password endpoint gives out password reset tokens without checking who is asking
What this means
An attacker can take over any user account in Flowise, including admin accounts, by requesting a password reset for their email address. The system hands out a working reset token to anyone who asks, with no verification. Once an attacker controls an account, they can read all workflows, integrations, API keys, and chat histories stored in that Flowise instance.
SecurityElites Manager Brief: the decision in one minute
Flowise leaks password reset tokens to anyone who asks. This lets attackers take over any account, including admin accounts, with just an email address. All Flowise before version 3.0.6 is at risk. Upgrade now and reset all credentials.
| SecurityElites Fix-First Score | 51 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 7 days Critical severity. This is our suggestion from common practice; your own policy comes first. |
| Who should own the fix | Platform or infrastructure team that manages Flowise deployments. |
| Likely effort | About 30 minutes: upgrade Flowise to version 3.0.6 and restart the service. Downtime depends on your deployment method. Finding and reviewing compromised accounts could take longer. |
Questions to ask your team or supplier
- Do we know which versions of Flowise are running in our cloud and self-hosted environments, and have we confirmed all of them are at 3.0.6 or later?
- Have we checked user account logs and login history for signs that any accounts were accessed or credentials were stolen before we upgraded?
- Should we force a password reset and API key rotation across all Flowise users as a precaution, even if we have no evidence of compromise?
Message you can forward to the owning team
Security notice: Flowise forgot-password endpoint gives out password reset tokens without checking who is asking (CVE-2025-58434)
Severity: Critical
SecurityElites Fix-First Score: 51 of 100
SecurityElites fix window: Within 7 days
Action: upgrade to flowise 3.0.6 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-2025-58434-flowise-forgot-password-endpoint-gives-out-password-reset-tokens-without/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-01684What is at stake in your AI setup
- API keys and credentials stored in Flowise integrations: an attacker who takes over an admin account can steal keys for OpenAI, Anthropic, or other AI providers and use them to generate content or run workflows elsewhere.
- Workflows and prompts: attackers can read, modify, or delete all workflows, including custom prompts and instructions that may contain sensitive business logic or data.
- Chat history and conversation data: if Flowise stores user interactions with LLMs, an attacker with account access can read all past conversations, which may contain confidential queries or outputs.
- Training or retrieval data: custom datasets, documents, or knowledge bases uploaded to Flowise for RAG or fine-tuning can be exfiltrated.
Who is exposed
- Flowise instances (cloud or self-hosted) running any version before 3.0.6
- Teams using Flowise for LLM workflows or chatbots with stored credentials
- Organizations where Flowise admin accounts have access to other systems or data
- Any setup where user email addresses are known or guessable
Upgrades you need
| Software | Affected versions | Move to |
|---|---|---|
| flowise npm | Every version before 3.0.6 | 3.0.6 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 | None. No login is needed |
| 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 | High |
| Risk of: data or settings being changed | High |
| Risk of: the service being taken down | High |
| Can attackers automate it at scale | Yes, according to CISA |
| How much control an attacker gains | Total control of the affected software, according to CISA |
Read from the official severity rating: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Kind of coding mistake
- CWE-306: an important function needs no login
If you cannot upgrade today
- Until you can upgrade, restrict network access to the Flowise API so only trusted internal users can reach it. Use a firewall, VPN, or reverse proxy to block access to `/api/v1/account/forgot-password` from the internet.
- Disable or hide the forgot-password feature at the application level if your Flowise version allows it, and manage password resets manually through admin tools.
Signs it may already have been used against you
- Review Flowise audit or access logs for requests to `/api/v1/account/forgot-password` from unknown IP addresses or at unusual times.
- Look for successful password resets in user activity logs that were not initiated by the user themselves.
- Check for new user accounts created or admin accounts modified around the time the vulnerability existed.
- Search for API keys or integrations added to workflows by users who deny doing so.
SecurityElites Fix Guide: step by step
- Find where Flowise is runningList all servers, containers, or cloud services running Flowise. Check npm packages, Docker images, and cloud deployments. Note the current version on each.
- Check the current versionRun `npm list flowise` on each machine or container where it is installed. Look for any version number before 3.0.6.
- Back up your dataExport or snapshot your Flowise database, workflows, and configuration files. This protects you if the upgrade fails.
- Stop the Flowise serviceStop the running Flowise instance. For npm: run `npm stop`. For Docker: stop and remove the container.
- Upgrade to version 3.0.6Update Flowise to exactly version 3.0.6. For npm: run `npm install flowise@3.0.6`. For Docker: pull and run the 3.0.6 image.
- Start Flowise and verify it runsStart the service. Check that Flowise starts without errors and you can log in with your credentials.
- Check for signs of past attacksReview user account activity logs and login history for any accounts you do not recognize or logins from unusual places. Look for new users created, workflows deleted, or API keys added.
- Reset all passwords and API keysForce all users to change their password on next login. Revoke and regenerate all API keys and integration credentials. This locks out anyone who stole credentials before the upgrade.
How to confirm it is fixed: Confirm that all Flowise instances are running version 3.0.6 or later by running `npm list flowise` on each system, and test that the forgot-password endpoint no longer returns a tempToken in its response.
SecurityElites Quick Fixes: copy and paste
Upgrade flowise with npmupgrade
npm install flowise@3.0.6
npm ls flowiseCheck installed Flowise version on npmfor this issue
npm list flowiseCheck Flowise version in a Docker container by namefor this issue
docker exec <container_name> 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-2025-58434) 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.0.6 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 forgot-password endpoint gives out password reset tokens without checking who is asking (CVE-2025-58434)
**Severity:** Critical | **SE Fix-First Score:** 51/100 | **Fix window:** Within 7 days
**Record:** SE-AIV-01684 https://securityelites.com/ai-vulnerabilities/cve-2025-58434-flowise-forgot-password-endpoint-gives-out-password-reset-tokens-without/
### Why this matters
An attacker can take over any user account in Flowise, including admin accounts, by requesting a password reset for their email address. The system hands out a working reset token to anyone who asks, with no verification. Once an attacker controls an account, they can read all workflows, integrations, API keys, and chat histories stored in that Flowise instance.
### What to do
1. Find where Flowise is running
2. Check the current version
3. Back up your data
4. Stop the Flowise service
5. Upgrade to version 3.0.6
6. Start Flowise and verify it runs
7. Check for signs of past attacks
8. Reset all passwords and API keys
Full steps: https://securityelites.com/ai-vulnerabilities/cve-2025-58434-flowise-forgot-password-endpoint-gives-out-password-reset-tokens-without/
### Done when
- [ ] flowise is at 3.0.6 or later everywhere it is installed
- [ ] Lock files, container images and CI configuration are updated
- [ ] Confirm that all Flowise instances are running version 3.0.6 or later by running `npm list flowise` on each system, and test that the forgot-password endpoint no longer returns a tempToken in its response.
- [ ] 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
- Langflow OSS allows authenticated users to access or change other users' flows High · CVE-2026-127067
- BaaRai ARTEX admin account can be claimed without authentication on first setup 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
Change history
- 12 Sep 2025: Made public
- 2 Dec 2026: Published
Official record
### SummaryThe `forgot-password` endpoint in Flowise returns sensitive information including a valid password reset `tempToken` without authentication or verification. This enables any attacker to generate a reset token for arbitrary users and directly reset their password, leading to a complete **account takeover (ATO)**.This vulnerability applies to **both the cloud service (`cloud.flowiseai.com`) and self-hosted/local Flowise deployments** that expose the same API.**CVSS v3.1 Base Score:** **9.8 (Critical)** **Vector String:** `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`---### Details* The endpoint `/api/v1/account/forgot-password` accepts an email address as input. * Instead of only sending a reset email, the API **responds directly with sensitive user details**, including:* User ID, name, email, hashed credential, status, timestamps. * **A valid `tempToken` and its expiry**, which is intended for password reset. * This `tempToken` can then be reused immediately in the `/api/v1/account/reset-password` endpoint to reset the password of the targeted account **without any email verification** or user interaction. * Exploitation requires only the victim’s email address, which is often guessable or discoverable. * Because the vulnerable endpoints exist in both **Flowise Cloud** and **local/self-hosted deployments**, any exposed instance is vulnerable to account takeover.This effectively allows any unauthenticated attacker to **take over arbitrary accounts** (including admin or privileged accounts) by requesting a reset for their email.---### PoC1. **Request a reset token for the victim**```bash curl -i -X POST https://<target>/api/v1/account/forgot-password \ -H "Content-Type: application/json" \ -d '{"user":{"email":"<victim@example.com>"}}' ```**Response (201 Created):**```json { "user": { "id": "<redacted-uuid>", "name": "<redacted>", "email": "<victim@example.com>", "credential": "<redacted-hash>", "tempToken": "<redacted-tempToken>", "tokenExpiry": "2025-08-19T13:00:33.834Z", "status": "active" } } ```2. **Use the exposed `tempToken` to reset the password**```bash curl -i -X POST https://<target>/api/v1/account/reset-password \ -H "Content-Type: application/json" \ -d '{ "user":{ "email":"<victim@example.com>", "tempToken":"<redacted-tempToken>", "password":"NewSecurePassword123!" } }' ```**Expected Result:** `200 OK` The victim’s account password is reset, allowing full login.---### Impact* **Type:** Authentication bypass / Insecure direct object exposure. * **Impact:*** Any account (including administrator or high-value accounts) can be reset and taken over with only the email address. * Applies to **both Flowise Cloud and locally hosted/self-managed deployments**. * Leads to full account takeover, data exposure, impersonation, and possible control over organizational assets. * High likelihood of exploitation since no prior access or user interaction is required.---### Recommended Remediation* **Do not return reset tokens** or sensitive account details in API responses. Tokens must only be delivered securely via the registered email channel. * Ensure `forgot-password` responds with a generic success message regardless of input, to avoid user enumeration. * Require strong validation of the `tempToken` (e.g., single-use, short expiry, tied to request origin, validated against email delivery). * Apply the same fixes to **both cloud and self-hosted/local deployments**. * Log and monitor password reset requests for suspicious activity. * Consider multi-factor verification for sensitive accounts.Credit---⚠️ This is a **Critical ATO vulnerability** because it allows attackers to compromise any account with only knowledge of an email address, and it applies to **all deployment models (cloud and local)**.---
Weakness type: CWE-306
Use this record in your own tools
Get this record as JSON
curl https://securityelites.com/wp-json/se-aivd/v1/vulns/CVE-2025-58434For 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.