{"answers":{"affected":"6 open source packages ship an affected version, including Flowise, flowise and flowise-components. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-61913 exists.","fix":"Upgrade Flowise to 3.0.8 or later.","what":"CVE-2025-61913 is a critical path traversal vulnerability in Flowiseai Flowise, published on 8 Oct 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-61913 and fix it if it is affected.\n\nWhat it is: CVE-2025-61913 is a critical path traversal vulnerability in Flowiseai Flowise, published on 8 Oct 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-61913 exists.\n\nAffected packages and fixed versions:\n- Flowise (npm): affected all versions; fixed in 3.0.8\n- Flowise (npm): affected all versions; fixed in 3.0.8\n- flowise (npm): affected all versions; fixed in 3.0.8\n- flowise (npm): affected all versions; fixed in 3.0.8\n- flowise-components (npm): affected all versions; fixed in 3.0.8\n- flowise-components (npm): affected all versions; fixed in 3.0.8\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-61913/ (Markdown: https://insights.sbomify.com/CVE-2025-61913/index.md)","id":"CVE-2025-61913","markdown":"https://insights.sbomify.com/CVE-2025-61913/index.md","name":"CVE-2025-61913","record":{"aliases":["GHSA-jv9m-vf54-chjj"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","data_modify","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"LLM flow builder","requires_auth":"low_privilege","summary":"Authenticated attackers can read and write arbitrary files via unrestricted path access in Flowise tools, potentially leading to remote command execution.","user_interaction":"not_required","vuln_class":"path_traversal"},"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:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Flowise is a drag \u0026 drop user interface to build a customized large language model flow. In versions prior to 3.0.8, WriteFileTool and ReadFileTool in Flowise do not restrict file path access, allowing authenticated attackers to exploit this vulnerability to read and write arbitrary files to any path in the file system, potentially leading to remote command execution. Flowise 3.0.8 fixes this vulnerability.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Flowise is vulnerable to arbitrary file read, arbitrary file write","id":"CVE-2025-61913","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":"flowiseai:flowise","products":["flowiseai:flowise"],"type":"path_traversal","year":"2025"},"n_packages":6,"n_references":4,"next":{"headline":"n8n's Possible Stored XSS in \"Respond to Webhook\" Node May Execute Outside iframe Sandbox","id":"CVE-2025-61914"},"packages":[{"ecosystem":"npm","fixed":["3.0.8"],"introduced":["0"],"last_affected":[],"package":"Flowise","purl":null,"source":"GHSA-jv9m-vf54-chjj"},{"ecosystem":"npm","fixed":["3.0.8"],"introduced":["0"],"last_affected":[],"package":"Flowise","purl":"pkg:npm/Flowise","source":"GHSA-jv9m-vf54-chjj"},{"ecosystem":"npm","fixed":["3.0.8"],"introduced":["0"],"last_affected":[],"package":"flowise","purl":null,"source":"GHSA-jv9m-vf54-chjj"},{"ecosystem":"npm","fixed":["3.0.8"],"introduced":["0"],"last_affected":[],"package":"flowise","purl":"pkg:npm/flowise","source":"GHSA-jv9m-vf54-chjj"},{"ecosystem":"npm","fixed":["3.0.8"],"introduced":["0"],"last_affected":[],"package":"flowise-components","purl":null,"source":"GHSA-jv9m-vf54-chjj"},{"ecosystem":"npm","fixed":["3.0.8"],"introduced":["0"],"last_affected":[],"package":"flowise-components","purl":"pkg:npm/flowise-components","source":"GHSA-jv9m-vf54-chjj"}],"prev":{"headline":"python-ldap Vulnerable to Improper Encoding or Escaping of Output and Improper Null Termination","id":"CVE-2025-61912"},"products":["Flowise"],"published":"2025-10-08","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 has Remote Code Execution vulnerability","id":"CVE-2025-59528","kev_date_added":null,"published":"2025-09-22"},{"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)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-14","vendors":["FlowiseAI"]},"summary":"Authenticated attackers can read and write arbitrary files via unrestricted path access in Flowise tools, potentially leading to remote command execution.","url":"https://insights.sbomify.com/CVE-2025-61913/"}