CVE-2026-12821 Details
Description
A vulnerability was determined in FlowiseAI Flowise up to 3.1.2. The impacted element is an unknown function of the file packages/components/nodes/documentloaders/S3/S3.ts of the component S3 Document Loader. Executing a manipulation can lead to path traversal. It is possible to launch the attack remotely. The vendor was contacted early about this disclosure but did not respond in any way.
A path traversal vulnerability has been identified in the S3 Document Loader component of FlowiseAI Flowise, affecting versions through 3.1.2. The vulnerability arises from an unknown function in the file packages/components/nodes/documentloaders/S3/S3.ts, where object keys from S3 buckets can be manipulated to traverse directories. This issue can be exploited remotely, allowing attackers to write arbitrary files outside the intended temporary directory used by the loader.
To address this vulnerability, normalize object keys to ensure they are safe basenames or explicitly reject absolute or traversal paths. After constructing the local file path, both the base and target paths should be resolved and checked to ensure the target path is relative to the intended base directory. Additionally, avoid recursive cleanup operations on paths that could be influenced by untrusted object names.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 22, 2026CISA-ADP
Assessed Jun 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/dxz0069/softwareoverflow/blob/main/flowise_s3_loader_object_key_path_traversal_vulndb.md | [email protected] | ExploitTechnical Description |
| https://vuldb.com/cve/CVE-2026-12821 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/837578 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/372611 | [email protected] | BundlePermission Required |
| https://vuldb.com/vuln/372611/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| FlowiseAI Flowise | <= 3.1.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 22, 2026 | CVE Modified | CISA-ADP |
| Jun 22, 2026 | New CVE Received | [email protected] |
Volerion