Skip to content
Threat Feed
critical advisory

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

  1. The attacker performs reconnaissance to identify a Flowise instance reachable over the network.
  2. The attacker selects a target email address associated with an account on the target Flowise instance.
  3. The attacker sends an HTTP POST request to the /api/v1/account/forgot-password endpoint with the target's email address.
  4. The Flowise server processes the request and generates a tempToken for the password reset.
  5. The server returns a 200 OK response containing the tempToken in the response body.
  6. The attacker extracts the tempToken from the response.
  7. The attacker uses the extracted tempToken to interact with the password reset completion endpoint to set a new password.
  8. 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-password endpoint.
  • 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

IT Operations 24h

Threat Hunt

Search logs for unusual frequency of POST requests to /api/v1/account/forgot-password

T1589.002 high high confidence hunt now

Data: webserver_access_logs

Mitigations

Upgrade to 3.0.6

immediate IT Operations

CVE-2025-58434

Detection coverage 1

Detect CVE-2025-58434 Exploitation - Unauthenticated Password Reset API Request

critical

Detects exploitation attempts against CVE-2025-58434 by identifying POST requests to the forgot-password endpoint followed by successful token generation.

sigma tactics: initial_access techniques: T1589.002 sources: webserver

Detection queries are available on the platform. Get full rules →