GHSA-8vvx-qvq9-5948: Flowise allows arbitrary file write to RCE
- Identifiers
- CVE-2025-71338GHSA-8vvx-qvq9-5948
- Published
- Record updated
- Affected
- flowise <= 2.2.7
- Fixed in
- No fixed version was stated when the source was last read.
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 1.0%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
Flowise, an LLM workflow builder, has an arbitrary file write flaw reachable through the /api/v1/document-store/loader/process endpoint. The fileName value is passed unchecked to path.join() in addBase64FilesToStorage, addArrayFilesToStorage and addSingleFileToStorage in storageUtils.ts, so ../ sequences let an attacker write files anywhere on disk. The advisory's proof of concept overwrites package.json in the project folder to add a command that runs when pnpm start executes, leading to remote code execution. The source text is cut off before its Impact and patch sections, and the affected version is shown only as 1.8.2 in the example package.json.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- flowisenpmLLM dependency since 2024-03-12
Related items
- MediumCVE-2026-143864: InfiniFlow RAGFlow template injection in Canvas StringTransform HandlerSimilar attack, NVD/CVE Database
- MediumCVE-2026-85259: Gemini CLI Triage Flaw Lets Issue Authors Run Code in GitHub ActionsSimilar attack, StepSecurity Blog
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database