# CVE-2025-71334: FlowiseAI Flowise arbitrary file access and path traversal

Source: https://junglewise.ai/threats/cve-2025-71334-flowiseai-flowise-arbitrary-file-access-and-path-traversal  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-25. Updated: 2026-06-25  
License: CC BY 4.0 with a link back

CVE-2025-71334 · Severity: critical · CVSS 9.8 · Published 2026-06-25

Flowise, an open-source tool for building LLM applications, is vulnerable to a flaw that allows attackers to read or write files anywhere on the server. By sending specially crafted requests to the application's chat and file management interfaces, an unauthenticated user could steal sensitive data or gain full control over the system. This could lead to a total compromise of the server and any customer data stored within the application.

Technologies: [flowise (npm)](https://junglewise.ai/threats/technologies/flowise). Vendors: [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2025-71334 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-71334 being exploited in the wild.

**How severe is CVE-2025-71334?** Critical severity, with a CVSS score of 9.8, published 25 June 2026.

**Which products and versions are affected?** flowise (npm) >= 2.2.8, < 3.0.6, SEMVER:introduced=2.2.8,fixed=3.0.6.

**Is there a fix for CVE-2025-71334?** Yes. flowise (npm): upgrade to 3.0.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2025-71334 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2025-71334?** Check whether you run flowise (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- flowise (npm): upgrade to 3.0.6 or later

  ```sh
  npm install flowise@3.0.6
  ```


## Technical details

Flowise contains a path traversal vulnerability due to insufficient validation of the 'chatflowId' and 'chatId' parameters in multiple API endpoints. Specifically, the '/api/v1/chatflows' endpoint (via addBase64FilesToStorage) fails to verify that these IDs are valid UUIDs or numbers, allowing an unauthenticated attacker to provide traversal sequences (e.g., '../../') to write arbitrary files. Additionally, the '/api/v1/get-upload-file' and '/api/v1/openai-assistants-file/download' endpoints are susceptible to arbitrary file reads via the streamStorageFile function. Successful exploitation of the file write capability can be leveraged to achieve remote code execution (RCE). The vulnerability is addressed in version 3.0.6.

## Affected products

- FlowiseAI Flowise <= 2.2.8

## Identifiers

- CVE-2025-71334
- GHSA-q67q-549q-p849

## Timeline

- 2024-09-14: other: Initial bugfix commit for relative path checks
- 2025-03-13: patched: Secondary bugfix for arbitrary attachment uploads
- 2025-09-13: advisory: GitHub Security Advisory published
- 2026-06-25: disclosed: NVD publication date

## References

- [https://github.com/FlowiseAI/Flowise/commit/8bd3de41533de78e4ef6c980e5704a1f9cb7ae6f](https://github.com/FlowiseAI/Flowise/commit/8bd3de41533de78e4ef6c980e5704a1f9cb7ae6f)
- [https://github.com/FlowiseAI/Flowise/commit/c2b830f279e454e8b758da441016b2234f220ac7](https://github.com/FlowiseAI/Flowise/commit/c2b830f279e454e8b758da441016b2234f220ac7)
- [https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-q67q-549q-p849](https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-q67q-549q-p849)
- [https://www.vulncheck.com/advisories/flowise-arbitrary-file-access-via-missing-chat-flow-id-validation](https://www.vulncheck.com/advisories/flowise-arbitrary-file-access-via-missing-chat-flow-id-validation)

## Related threats

- [Duplicate Advisory: INVITED users auto-promoted via SSO email match (invite-token bypass)](https://junglewise.ai/threats/duplicate-advisory-invited-users-auto-promoted-via-sso-email-match-d290aa10)
- [Duplicate Advisory: Flowise contains an unauthenticated sandbox escape](https://junglewise.ai/threats/duplicate-advisory-flowise-contains-an-unauthenticated-sandbox-escape-8959e167)
- [Flowise incomplete credential redaction in API](https://junglewise.ai/threats/cve-2026-73604-flowise-incomplete-credential-redaction-in-api)
- [Flowise text-to-speech endpoint credential abuse via unauthenticated access](https://junglewise.ai/threats/cve-2026-73603-flowise-text-to-speech-endpoint-credential-abuse-via)
- [Flowise IDOR in payment source endpoint](https://junglewise.ai/threats/cve-2026-73488-flowise-idor-in-payment-source-endpoint)
