---
id: CVE-2025-71338
title: >-
  Flowise through 2.2.7 fails to sanitize path segments in the document-store
  loader endpoint, allowing unauthenticated attackers to write files outside the
  storage directory
summary: >-
  Flowise through 2.2.7 fails to sanitize path segments in the document-store
  loader endpoint, allowing unauthenticated attackers to write files outside the
  storage directory. Attackers can use parent-directory sequences to escape the
  stor…
severity: critical
cvss: 10
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'
cwe:
  - CWE-73
vendor: flowiseai
product: flowise
affected:
  - flowise <= 3.1.3
published: '2026-06-25'
updated: '2026-09-17'
sourceUpdated: '2026-09-17T19:16:36.377'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-71338'
references:
  - url: 'https://github.com/FlowiseAI/Flowise/releases/tag/flowise%402.2.7-patch.1'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-8vvx-qvq9-5948
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/flowise-arbitrary-file-write-to-remote-code-execution-via-document-store-api
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-8vvx-qvq9-5948
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-06-26T12:45:21.904864Z'
epss: 0.01157
epssPercentile: 0.65689
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/majpuV/flowise-arbitrary-file-read-getFileFromStorage'
  checkedAt: '2026-09-26T09:05:36.302Z'
ingestedAt: '2026-09-17T18:25:16.055Z'
---

## Overview

Flowise through 2.2.7 fails to sanitize path segments in the document-store loader endpoint, allowing unauthenticated attackers to write files outside the storage directory. Attackers can use parent-directory sequences to escape the storage directory and overwrite application files loaded at boot for remote code execution.

## Affected

- `flowise <= 3.1.3`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
