# CVE-2025-68478: Langflow Vulnerable to External Control of File Name or Path

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 6.20%, higher than 93% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-19T17:10:14.107Z
- Modified: 2026-10-13T11:10:00.203Z
- Also known as: GHSA-f43r-cc68-gpx4, PYSEC-2025-125
- Weaknesses: CWE-73, CWE-610
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- langflow-ai langflow: < 1.7.0
- langflow (PyPI): before 1.7.1; before 1.7.0
- langflow langflow: before 1.7.0

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L`
- PyPA Advisory Database: CVSS:3.1 7.1 High `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> (exploit, evidence, vendor-advisory, web)
- <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)

## Sources

- CVE List: [CVE-2025-68478](https://www.cve.org/CVERecord?id=CVE-2025-68478), CVE Terms of Use, modified 2025-12-19
- GitHub Advisory Database: [GHSA-f43r-cc68-gpx4](https://github.com/advisories/GHSA-f43r-cc68-gpx4), CC-BY-4.0, modified 2026-06-06
- NVD: [CVE-2025-68478](https://nvd.nist.gov/vuln/detail/CVE-2025-68478), Public domain, modified 2026-10-13
- PyPA Advisory Database: [PYSEC-2025-125](https://osv.dev/vulnerability/PYSEC-2025-125), CC-BY-4.0, modified 2026-05-20

---

Page: https://cve.day/CVE-2025-68478 · Whole record: https://cve.day/CVE-2025-68478.json · Rebuilt by cve.day 2026-11-25T22:59:09.754Z
