CVE Catalog

CVE-2025-68478

HighCVSS 7.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Very high risk
5.79%

93th percentile - higher than 93% of all known CVEs

Summary

Langflow prior to version 1.7.0 allows an arbitrary path to be specified in the request body's fs_path, causing the server to serialize the Flow object into JSON and create or overwrite 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.

Risk Assessment

An attacker can create or overwrite arbitrary files on the server's filesystem, potentially leading to remote code execution, system corruption, or privilege escalation. The risk is critical as it requires no authentication beyond API access.

Recommendation

Update Langflow to version 1.7.0, which fixes this vulnerability. Additionally, restrict the Langflow process's file write permissions and monitor for unusual filesystem operations.

Other vulnerabilities in Langflow

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS