Unauthenticated Account Takeover in Flowise via CVE-2025-58434
CVE-2025-58434 is a critical vulnerability in Flowise versions prior to 3.0.6 where the password reset API leaks a temporary token, enabling unauthenticated account takeover.
CVE search metadata
CVE search record: CVE-2025-58434. Severity: critical. CVSS: 9.8. EPSS: 49.89%. KEV: no. Product: Flowise (< 3.0.6). Brief: Unauthenticated Account Takeover in Flowise via CVE-2025-58434. Brief link: https://feed.craftedsignal.io/briefs/2026-09-flowise-cve-2025-58434/
CVE-2025-58434 is a critical vulnerability affecting Flowiseai Flowise versions 3.0.5 and earlier. The vulnerability exists within the application's account management API, specifically the /api/v1/account/forgot-password endpoint. When an attacker sends a password reset request to this endpoint with a target user's email address, the server improperly includes a valid tempToken within the JSON API response.
This leak occurs because the application fails to adequately sanitize the response or restrict sensitive information when the request is processed. Because the tempToken is returned directly to the requester, an attacker can bypass the intended password reset workflow, which should require access to the user's email inbox. This enables full, unauthenticated account takeover of any user within the target Flowise instance. The vulnerability has a CVSS v3.1 score of 9.8, and multiple functional proof-of-concept exploits have been published publicly, significantly lowering the barrier for exploitation.
Attack Chain
- The attacker performs reconnaissance to identify a Flowise instance reachable over the network.
- The attacker selects a target email address associated with an account on the target Flowise instance.
- The attacker sends an HTTP POST request to the
/api/v1/account/forgot-passwordendpoint with the target's email address. - The Flowise server processes the request and generates a
tempTokenfor the password reset. - The server returns a 200 OK response containing the
tempTokenin the response body. - The attacker extracts the
tempTokenfrom the response. - The attacker uses the extracted
tempTokento interact with the password reset completion endpoint to set a new password. - The attacker gains full control over the compromised account.
Impact
Successful exploitation allows unauthenticated attackers to perform a full account takeover of any user in the Flowise instance. This results in the loss of confidentiality and integrity of all workflows, credentials, and data accessible to that user account. Given the nature of Flowise, this likely includes exposure of API keys, sensitive data processing logs, and control over downstream automated workflows.
Recommendation
- Immediately upgrade all Flowise instances to version 3.0.6 or later to mitigate CVE-2025-58434.
- Audit access logs for anomalous POST requests to the
/api/v1/account/forgot-passwordendpoint. - Monitor web server logs for high volumes of password reset requests from single source IPs, which may indicate automated scanning or exploitation attempts.
- Deploy the provided detection rule to identify and block potential exploitation attempts targeting this endpoint.
Immediate actions
Upgrade Flowise to 3.0.6 or later
Threat Hunt
Search logs for unusual frequency of POST requests to /api/v1/account/forgot-password
Data: webserver_access_logs
Mitigations
Upgrade to 3.0.6
CVE-2025-58434
Detection coverage 1
Detect CVE-2025-58434 Exploitation - Unauthenticated Password Reset API Request
criticalDetects exploitation attempts against CVE-2025-58434 by identifying POST requests to the forgot-password endpoint followed by successful token generation.
Detection queries are available on the platform. Get full rules →