{"uuid": "11e40931-e851-4fa1-8525-798a011ede26", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2025-59528", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/flowise_js_rce.rb", "content": "{\"aliases\": [], \"arch\": \"cmd\", \"author\": [\"Kim SooHyun (im-soohyun)\", \"nltt0\", \"Valentin Lobstein \"], \"autofilter_ports\": [80, 8080, 443, 8000, 8888, 8880, 8008, 3000, 8443], \"autofilter_services\": [\"http\", \"https\"], \"check\": true, \"default_credential\": false, \"description\": \"This module exploits a remote code execution vulnerability in Flowise versions &gt;= 2.2.7-patch.1\\n          and &lt; 3.0.6. The vulnerability exists in the customMCP endpoint (/api/v1/node-load-method/customMCP)\\n          located in packages/components/nodes/tools/MCP/CustomMCP/CustomMCP.ts, which allows users to execute\\n          arbitrary commands via JavaScript code injection in the mcpServerConfig parameter using the\\n          convertToValidJSONString function that uses Function('return ' + inputString)(). For versions &lt; 3.0.1,\\n          the exploit can work unauthenticated if FLOWISE_USERNAME and FLOWISE_PASSWORD environment variables\\n          are not configured. For versions &gt;= 3.0.1, authentication via FLOWISE_EMAIL and FLOWISE_PASSWORD is\\n          required due to JWT token verification.\", \"disclosure_date\": \"2025-09-13\", \"fullname\": \"exploit/multi/http/flowise_js_rce\", \"is_install_path\": true, \"mod_time\": \"2025-12-17 16:12:31 +0000\", \"name\": \"Flowise JS Injection RCE\", \"needs_cleanup\": null, \"notes\": {\"Reliability\": [\"repeatable-session\"], \"SideEffects\": [\"ioc-in-logs\"], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/multi/http/flowise_js_rce.rb\", \"platform\": \"Linux,Unix,Windows\", \"post_auth\": false, \"rank\": 600, \"ref_name\": \"multi/http/flowise_js_rce\", \"references\": [\"CVE-2025-59528\", \"EDB-52440\"], \"rport\": 3000, \"session_types\": false, \"targets\": [\"Unix/Linux Command\", \"Windows Command\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:49:46.901877Z"}