Pre-authentication Path Traversal File Upload in Flowise
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.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
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.
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.
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.
1 exploit validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
13 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.