{"answers":{"affected":"2 open source packages ship an affected version, including flowise. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-59528 exists.","fix":"Upgrade flowise to 3.0.6 or later.","what":"CVE-2025-59528 is a critical code injection vulnerability in Flowiseai Flowise, published on 22 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-59528 and fix it if it is affected.\n\nWhat it is: CVE-2025-59528 is a critical code injection vulnerability in Flowiseai Flowise, published on 22 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-59528 exists.\n\nAffected packages and fixed versions:\n- flowise (npm): affected from 3.0.5; fixed in 3.0.6\n- flowise (npm): affected from 3.0.5; fixed in 3.0.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-59528/ (Markdown: https://insights.sbomify.com/CVE-2025-59528/index.md)","id":"CVE-2025-59528","markdown":"https://insights.sbomify.com/CVE-2025-59528/index.md","name":"CVE-2025-59528","record":{"aliases":["GHSA-3gcm-f6qx-ff7p"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"LLM flow builder","requires_auth":"none","summary":"Attackers can execute arbitrary JavaScript code via the CustomMCP node configuration, leading to remote code execution on the server.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"flowise","vendor":"flowiseai"}],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"Flowise is a drag \u0026 drop user interface to build a customized large language model flow. In version 3.0.5, Flowise is vulnerable to remote code execution. The CustomMCP node allows users to input configuration settings for connecting to an external MCP server. This node parses the user-provided mcpServerConfig string to build the MCP server configuration. However, during this process, it executes JavaScript code without any security validation. Specifically, inside the convertToValidJSONString function, user input is directly passed to the Function() constructor, which evaluates and executes the input as JavaScript code. Since this runs with full Node.js runtime privileges, it can access dangerous modules such as child_process and fs. This issue has been patched in version 3.0.6.","ecosystems":["npm"],"exploits":{"exploitdb":1,"first_seen":"2025-09-13","github_poc":13,"max_poc_stars":1,"metasploit":1,"nuclei":1,"refs":[{"date":"2026-04-13T11:32:39Z","kind":"github_poc","ref":"https://github.com/UsifAraby/CVE-2025-59528-POC","stars":1,"title":"CVE-2025-59528 - FlowiseAI CustomMCP Remote Code Execution"},{"date":"2026-04-13T21:06:26Z","kind":"github_poc","ref":"https://github.com/vanhari/CVE-2025-59528","stars":1,"title":"CVE-2025-59528 Proof of Concept"},{"date":"2026-04-15T06:28:59Z","kind":"github_poc","ref":"https://github.com/maradonam18/-CVE-2025-59528-PoC","stars":1,"title":"A simple python script to exploit CVE-2025-59528, this an Authenticated RCE vulnerability in Flowise application, a popular AI tool. That is also used in HTB seasonal challenge. The issue is present in version \u003c= 3.0.5, for more details: https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-3gcm-f6qx-ff7p"},{"date":"2026-04-15T12:47:25Z","kind":"github_poc","ref":"https://github.com/arensballiu/Flowise-RCE-CVE-2025-59528","stars":1,"title":"Authenticated Remote Code Execution (RCE) exploit for Flowise AI versions ≤ 3.0.4. Leverages a vulnerability in the /api/v1/node-load-method/customMCP endpoint to execute arbitrary system commands via Node.js child_process.execSync(). Includes full PoC script and remediation steps."},{"date":"2026-05-01T17:20:57Z","kind":"github_poc","ref":"https://github.com/mananispiwpiw/CVE-2025-59528-PoC","stars":1,"title":"CVE-2025-59528 Proof of Concept"},{"date":"2026-05-16T18:06:19Z","kind":"github_poc","ref":"https://github.com/NymiiTechTips/CVE-2025-59528","stars":1,"title":"Technical PoC for CVE-2025-59528 (Flowise \u003c 3.0.5), demonstrating authenticated RCE through customMCP mcpServerConfig injection, with clear bilingual documentation and reproducible steps for authorized security testing."},{"date":"2026-05-17T13:30:41Z","kind":"github_poc","ref":"https://github.com/corey-farley/CVE-2025-59528-Flowise-RCE","stars":1,"title":"Authenticated RCE PoC for Flowise version \u003c= 3.0.5 via CustomMCP Node (CVE-2025-59528)"},{"date":"2026-08-28T12:36:55Z","kind":"github_poc","ref":"https://github.com/hackpatato/PoC-and-yara-rules-of-CVE-2025-59528-Flowise-has-Remote-Code-Execution-vulnerability","stars":1,"title":"poc and yara rules"}],"tier":"weaponised"},"has_fix":true,"headline":"Flowise has Remote Code Execution vulnerability","id":"CVE-2025-59528","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":"flowiseai:flowise","products":["flowiseai:flowise"],"type":"code_injection","year":"2025"},"n_packages":2,"n_references":8,"next":{"headline":"Avahi: simple protocol server ignores accepts unlimited connections and logs failures without limit","id":"CVE-2025-59529"},"packages":[{"ecosystem":"npm","fixed":["3.0.6"],"introduced":["3.0.5"],"last_affected":[],"package":"flowise","purl":null,"source":"GHSA-3gcm-f6qx-ff7p"},{"ecosystem":"npm","fixed":["3.0.6"],"introduced":["3.0.5"],"last_affected":[],"package":"flowise","purl":"pkg:npm/flowise","source":"GHSA-3gcm-f6qx-ff7p"}],"prev":{"headline":"FlowiseAI/Flowise has Server-Side Request Forgery (SSRF) vulnerability","id":"CVE-2025-59527"},"products":["Flowise"],"published":"2025-09-22","related":[{"cvss_score":10,"headline":"Flowise through 2.2.7 - Arbitrary File Write to Remote Code Execution via document-store API","id":"CVE-2025-71338","kev_date_added":null,"published":"2026-06-25"},{"cvss_score":10,"headline":"Flowise: Authenticated RCE Via MCP Adapters","id":"CVE-2026-40933","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":10,"headline":"Flowise is vulnerable to arbitrary file read, arbitrary file write","id":"CVE-2025-61913","kev_date_added":null,"published":"2025-10-08"},{"cvss_score":9.8,"headline":"Code injection in n/a","id":"CVE-2026-52098","kev_date_added":null,"published":"2026-09-10"},{"cvss_score":9.8,"headline":"Flowise Cloud and Local Deployments have Unauthenticated Password Reset Token Disclosure that Leads to Account Takeover","id":"CVE-2025-58434","kev_date_added":null,"published":"2025-09-12"},{"cvss_score":9.8,"headline":"Unsupervised OS command execution leads to remote code execution by unauthenticated network attackers","id":"CVE-2025-8943","kev_date_added":null,"published":"2025-08-14"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-09-22","vendors":["FlowiseAI"]},"summary":"Attackers can execute arbitrary JavaScript code via the CustomMCP node configuration, leading to remote code execution on the server.","url":"https://insights.sbomify.com/CVE-2025-59528/"}