Skip to content
OpenAdvisories
High · 7.1 CVE-2025-68478 EUVD-2025-204581GHSA-f43r-cc68-gpx4PYSEC-2025-125

Langflow Vulnerable to External Control of File Name or Path

Published Dec 19, 2025 · Updated Dec 19, 2025 · 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.

Affected products

VendorProductAffectedFixed
langflow-ai langflow < 1.7.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI langflow < 1.7.1 1.7.1 GHSA-f43r-cc68-gpx4
PyPI langflow < 1.7.0 1.7.0 PYSEC-2025-125

References