Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Flowise-CVE-2025-58434-PasswordReset — Unauthenticated password reset exploit for Flowise AI ≤ 3.0.5. Abuses the /api/v1/account/forgot-password endpoint to change any user's password without prior authentication. Includes a proof-of-concept script and mitigation guidelines. | Kitploit
Tools/GitHubGitHub/r3nsi15/flowise-cve-2025-58434-passwordreset
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingAuthenticationLearning & Education
GitHubr3nsi15/flowise-cve-2025-58434-passwordreset

Flowise-CVE-2025-58434-PasswordReset

Unauthenticated password reset exploit for Flowise AI ≤ 3.0.5. Abuses the /api/v1/account/forgot-password endpoint to change any user's password without prior authentication. Includes a proof-of-concept script and mitigation guidelines.

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
14 months agoNot yet reviewed

CVE-2025-58434 — Flowise AI Unauthenticated Password Reset

Overview

CVE ID: CVE-2025-58434
Affected Software: Flowise AI
Vulnerable Versions: <= 3.0.5
Fixed Version: 3.0.6 and later
Severity: Critical
Author: r3nsi15
Date: 2025

Description

Flowise AI versions up to and including 3.0.5 contain a broken authentication flaw in the password reset flow. The /api/v1/account/forgot-password endpoint returns a temporary reset token (tempToken) directly in its API response without requiring any form of prior authentication or email verification.

An unauthenticated attacker who knows (or can enumerate) a valid email address can:

  1. Confirm whether the email exists via a login attempt response message.
  2. Trigger a password reset request for that email.
  3. Extract the tempToken directly from the API response.
  4. Use that token to set an arbitrary new password on the victim's account.

This vulnerability bypasses the intended email-based verification flow entirely, as the token is leaked in the HTTP response rather than sent only to the account owner's email inbox.

Affected Endpoints

Proof of Concept

File: CVE-2025-58434_POC.py

Requirements

  • Python 3.x
  • requests library
root@kitploit:~
pip install requests

Usage

root@kitploit:~
python3 CVE-2025-58434_POC.py -e <target_email> -u <target_url> [-p <new_password>]

Arguments

Example

root@kitploit:~
python3 CVE-2025-58434_POC.py -e [email protected] -u https://flowise.example.com -p P@ssw0rd!

Expected Output

root@kitploit:~
[+] Email [email protected] exists!
[!] Sending forgot password request
[!] Sending reset password request
[+] Password Changed Successfully to: P@ssw0rd!

Root Cause

The password reset API was designed to send the tempToken to the user's email, but the server also included it directly in the JSON response body. This means any caller — authenticated or not — receives the token immediately upon making the request, rendering the email delivery step irrelevant.

Additionally, the email enumeration is possible because the login endpoint returns a distinct error message ("Incorrect Email or Password") only when the email exists, making it trivial to confirm valid accounts before launching the attack.

Remediation

  • Upgrade to Flowise AI 3.0.6 or later, which removes the token from the API response.
  • Ensure the tempToken is transmitted exclusively via the registered email address.
  • Implement rate limiting on the forgot-password endpoint to prevent abuse.
  • Normalize login error messages to prevent email enumeration (e.g., always return the same message regardless of whether the email exists).

Disclaimer

This proof of concept is provided for educational and authorized security research purposes only. Use of this script against systems without explicit written permission is illegal and unethical. The author and contributors assume no liability for misuse.

Download Tool
EndpointMethodPurpose
/api/v1/auth/loginPOSTUsed to verify if an email account exists
/api/v1/account/forgot-passwordPOSTTriggers reset and leaks tempToken in response
/api/v1/account/reset-passwordPOSTCompletes the password change using the token
FlagLong FormRequiredDescription
-e--emailYesTarget account email address
-u--urlYesBase URL of the Flowise instance
-p--passwordNoNew password to set (defaults to password)