What’s Vulnerable › Vulnerabilities
CVE-2025-68478: Langflow Vulnerable to External Control of File Name or Path
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 5.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-12-19 · updated 2026-10-13
- Weakness: CWE-73
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 products
- IBM Langflow OSS: before 1.7.0 — fixed in 1.7.0
How to fix
Upgrade to a fixed version: IBM Langflow OSS 1.7.0. Check the vendor advisory for mitigations.
References
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-f43r-cc68-gpx4
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-f43r-cc68-gpx4
Get alerted when CVE-2025-68478 or the next vulnerability affects your stack