HighVulnerability
CVE-2025-68478: Langflow arbitrary file write through the fs_path request field
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2025-68478
- Published
- Record updated
- Affected
- langflow < 1.7.1
- Fixed in
- 1.7.1
- released December 19, 2025, on the day of disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 5.8%
Summary
CVE-2025-68478 affects Langflow versions prior to 1.7.0. When a request body specifies an arbitrary path in `fs_path`, the server serializes the Flow object to JSON and creates or overwrites a file at that path, with no path restriction, normalization, or allowed directory enforcement, so absolute paths such as /etc/poc.txt are used as given.
Mitigation
Version 1.7.0 fixes the issue.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- langflowPyPIReaches an LLM package through dependencies
Related items
- MediumCVE-2026-121936: easyVoice server-side request forgery through openaiBaseUrl in /api/v1/ttsSimilar attack · NVD/CVE Database
- MediumCVE-2026-118628: MLflow get-artifacts server-side request forgery information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-118625: MLflow Tracking Server privilege escalation via get_endpointsSimilar attack · NVD/CVE Database
- InfoWhen trust becomes the payload: Inside the threats, etc quarterly reportSimilar attack · Elastic Security Labs
- MediumCritical Langflow flaws enable authentication bypass and RCESimilar attack · CSO Online