CVE-2025-26319: Pre-authentication Path Traversal File Upload in Flowise
- Vendor
- Flowiseai
CVE-2025-26319 is a pre-authentication arbitrary file-write vulnerability in Flowise 2.2.6. The attachment/knowledge-upload functionality accepts attacker-controlled chatflow and chat identifiers and uses them to construct local storage paths without adequate format validation or traversal prevention. When Flowise uses local storage, an unauthenticated attacker can submit a crafted upload request that escapes the intended attachment directory and writes or overwrites files at attacker-chosen locations accessible to the Flowise process.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An attacker can overwrite sensitive Flowise configuration and credential material, upload malicious scripts or configuration files, and potentially add SSH keys. This can compromise Flowise API credentials, expose data processed by agents, and lead to remote control of the Flowise host where a suitable overwritten file is subsequently loaded or executed. Active exploitation has been reported.
Mitigation
If you can’t patch tonight, do this now.
Use S3-backed attachment storage to avoid the vulnerable local filesystem write path. Restrict network access to Flowise, place the service behind authentication-aware access controls, and disable or limit attachment uploads if they are not required. Run Flowise with a non-root account and least filesystem privileges, and inspect for unexpected changes to Flowise configuration, credentials, authorized keys, and executable content.
Remediation
Patch, then assume compromise.
Apply the vendor-provided fix or a patch that strictly validates chatflow and chat identifiers before filesystem path construction, canonicalizes the resolved destination path, and rejects paths outside the intended attachment-storage root. The available information does not identify a fixed Flowise version for this CVE. Configure attachment storage to use S3 rather than local filesystem storage where feasible.
Exploits
1 exploit validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2025-26319 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2025-26319?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2025-26319, the earliest disclosed Mar 14, 2025.
- Is there a patch for CVE-2025-26319?
- Apply the vendor-provided fix or a patch that strictly validates chatflow and chat identifiers before filesystem path construction, canonicalizes the resolved destination path, and rejects paths outside the intended attachment-storage root. The available information does not identify a fixed Flowise version for this CVE.
- What products are affected by CVE-2025-26319?
- Flowiseai Flowise.
- How severe is CVE-2025-26319?
- CVE-2025-26319 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 55.9% (99th percentile) as of Oct 16, 2026.
Recent activity
13 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.