CVE-2025-68478
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (4.12%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.1 HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
- EPSS
- 4.12% probability · 90th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-73, CWE-610
- Affected
- langflow/langflow
- Source
- security-advisories@github.com
References
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-f43r-cc68-gpx4Exploit, Vendor Advisory
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-f43r-cc68-gpx4Exploit, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.