Vulnerability · Published Dec 19, 2025 · Assigned by GitHub_M
CVE-2025-68478Langflow Vulnerable to External Control of File Name or Path
High 7.1
In plain English
A high-severity security flaw in langflow from langflow-ai. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 5.8% (higher than 93% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | langflow | 1.7.1 | GHSA-f43r-cc68-gpx4 |
| PyPI | langflow | 1.7.0 | PYSEC-2025-125 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| langflow-ai | langflow | < 1.7.0 |
Weakness: CWE-73 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
References
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-f43r-cc68-gpx4 x_refsource_CONFIRM