CVE-2025-68478
HIGH 7.1CVSS 3.1External Control of File Name or Path in Langflow
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.
- Published
- 19 Dec 2025
- Last modified
- 13 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-610CWE-73
- Also known as
- GHSA-f43r-cc68-gpx4PYSEC-2025-125
- Sources
- NVDJSONOSV GHSA-f43r-cc68-gpx4JSONOSV PYSEC-2025-125JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L |
| OSV | PyPA | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | langflow | langflowcpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:* |
< 1.7.0 | 1.7.0 |
| OSV | PyPI | langflow | < 1.7.1 | 1.7.1 |
| OSV | PyPI | langflow | < 1.7.0 | 1.7.0 |
References
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-f43r-cc68-gpx4 · Exploit, Vendor Advisory, WEB, EVIDENCE
- https://nvd.nist.gov/vuln/detail/CVE-2025-68478 · ADVISORY
- https://github.com/langflow-ai/langflow · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/langflow/PYSEC-2025-125.yaml · WEB
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 19 Dec 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 19 Dec 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Dec 2025)