CVE-2025-68478
Description
Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to version 1.7.0, if an arbitrary path is specified in the request body's `fs_path`, the server serializes the Flow object into JSON and creates/overwrites a file at that path. There is no path restriction, normalization, or allowed directory enforcement, so absolute paths (e.g., /etc/poc.txt) are interpreted as is. Version 1.7.0 fixes the issue.
How to fix
- langflow langflow1.7.0 or later
- langflow1.7.1, 1.7.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| langflow langflow | v < 1.7.0 | 1.7.0 |
| langflowPyPI | v < 1.7.1, v < 1.7.0 | 1.7.1, 1.7.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.