Security Digest · Vulnerability record

CVE-2025-61913: Flowise is vulnerable to arbitrary file write through its WriteFileTool

Flowise is a drag & drop user interface to build a customized large language model flow.

CVSS 10.0 Critical EPSS 13.0% · p96

Should you act?

High exploit likelihood

EPSS ranks it in the top 5% of all CVEs for likely exploitation in the next 30 days. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • Not in CISA KEV, but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
  • EPSS 13.0%, percentile 96: FIRST’s model estimates a 13.0% chance of exploitation activity in the next 30 days, higher than 96% of all scored CVEs (very high). EPSS is a probability, not a verdict.
  • Needs an account (low (any account)). Exposure depends on who can log in.
  • Only applies if your dependency tree includes flowise (npm) < 3.0.8, fixed in 3.0.8; flowise-components (npm) < 3.0.8, fixed in 3.0.8; Flowise (npm) <= 3.0.5, fixed in 3.0.8. Check your lockfile, including transitive dependencies.

What it is

Flowise is a drag & 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.

From the GitHub advisory

Summary

The WriteFileTool in Flowise does not restrict the file path for reading, allowing authenticated attackers to exploit this vulnerability to write arbitrary files to any path in the file system, potentially leading to remote command execution.

Details

Flowise supports providing WriteFileTool for large models, which is used to write files to the server's file system. The implementation of this tool is located at packages/components/nodes/tools/WriteFile/WriteFile.ts.

This tool directly uses the filepath parameter passed to it without verifying whether the path belongs to Flowise's working directory. Authenticated attackers can exploit this vulnerability to write files with arbitrary content to any path on the server.

Weakness type: CWE-22.

Product: flowise (npm) · Assigned by: GitHub_M · Published: 2025-10-08

Affected and fixed versions

EcosystemPackageVulnerableFirst fixed
npmflowise< 3.0.83.0.8
npmflowise-components< 3.0.83.0.8
npmFlowise<= 3.0.53.0.8
VendorProductAffected versions (per CVE record)
FlowiseAIFlowise< 3.0.8

Severity scores

Scored byCVSSScoreVector
GitHub_M3.110 CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
GitHub3.19.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Attack vector: network (remotely reachable)
  • Attack complexity: low
  • Privileges required: low (any account)
  • User interaction: none
  • Scope: changed (can affect other components)

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
  • CISA SSVC assessment: exploitation poc, automatable no, technical impact total.
  • FIRST EPSS (model of 2026-10-21): 12.95% probability of exploitation activity in the next 30 days; percentile 96.

Timeline

  • — CVE record published by GitHub_M
  • — GitHub-reviewed advisory GHSA-jv9m-vf54-chjj published (critical)
  • — CVE record last updated

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vulnerability records

  1. GitHub Advisory GHSA-jv9m-vf54-chjj github.com
  2. CVE.org record CVE-2025-61913 cve.org
  3. NVD entry CVE-2025-61913 nvd.nist.gov

Other references from the CVE record and advisory

  1. github.com github.com
  2. github.com github.com
  3. github.com github.com
  4. github.com github.com
  5. github.com github.com

Critical npm advisories · Today’s Security Digest