GHSA-88pr-878c-24wf: Flowise: Authenticated arbitrary file write in the `S3 Directory` document loader via unsanitized S3 object keys
- Identifier
- GHSA-88pr-878c-24wf
- Published
- Record updated
- Affected
- flowise <= 3.1.2
- flowise-components <= 3.1.2
- Fixed in
- 3.1.3
- flowise 3.1.3 released June 25, 2026, 40 days before disclosure
- flowise-components 3.1.3 released June 25, 2026, 40 days before disclosure
Summary
Flowise on current main lets an authenticated user with documentStores:preview-process permission trigger the S3 Directory document loader with attacker-controlled S3 object keys. The loader joins each key to a temporary directory with path.join and writes the object bytes to disk without validating ../ traversal sequences, and cleanup removes only the original temporary directory, so the written files persist on the host. A related variant in the S3File loader (fileProcessingMethod = unstructured) shares the same root cause.
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
- flowise-componentsnpmLLM dependency since 2023-04-10 · 1 tracked dependent
Related items
- HighGHSA-jq3q-62jc-fqq9: code-review-mcp-server: Command injection via unsanitized folderPath/baseBranch parametersSimilar attack · GitHub Advisory Database
- CriticalCVE-2026-120699: CubeSandbox host path bind mount allows host file access via POST /sandboxesSimilar attack · NVD/CVE Database
- MediumCalifornia sues OpenAI over AI agents escaping sandboxes, hacking firmsSimilar attack · BleepingComputer
- HighCVE-2026-126816 - Path traversal and arbitrary file write in the cost report generator of aws-pricing-mcp-serverSimilar attack · AWS Security Bulletins
- InfoRansomware Attacks Increase Behind AI, But Payments DeclineSimilar attack · Dark Reading