All vulnerabilities

Servers and applications

CVE-2025-68478

External Control of File Name or Path in Langflow

Severity
High 7.1
Published
19 Dec 2025
Last changed
13 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.7.0
Exploit chance
6.2% in the next 30 daysHigher than 93% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CWE-73CWE-610
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change data · Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
Also known as
GHSA-f43r-cc68-gpx4
Sources
NVD, Project advisories (GitHub)

Description

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.

  • Authenticated Arbitrary File Write (within server permission scope): Risk of corrupting configuration/log/task files, disrupting application behavior, and tampering with files read by other components.
  • Both absolute and relative paths are allowed, enabling base directory traversal. The risk of overwriting system files increases in environments with root privileges or weak mount/permission settings.
  • The file content is limited to Flow JSON, but the impact is severe if the target file is parsed by a JSON parser or is subject to subsequent processing.
  • In production environments, it is essential to enforce a save root, normalize paths, block symlink traversal, and minimize permissions.
From langflow-ai/langflow's security advisory.

Affected software

SoftwareAffected versions
LangflowServers and applications · cpe:a:langflow:langflow
  • Every version before 1.7.0
LangflowServers and applications · github:langflow-ai/langflow
  • Every version before 1.7.0

About Langflow

Langflow is a powerful tool for building and deploying AI-powered agents and workflows.

From its GitHub repository.
Weekly downloads (PyPI)
8,374PyPI Stats, 15 Nov 2026
Docker Hub pulls
4,731,179Docker Hub, 15 Nov 2026
GitHub stars
156,656GitHub, 15 Nov 2026
Forks
10,412GitHub, 15 Nov 2026
Latest release
v1.13.2GitHub, 15 Nov 2026
Released
10 Nov 2026GitHub
License
MITGitHub
First published on GitHub
8 Feb 2023GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2025-68478
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2025-68478
  • GitHub Advisory Database https://github.com/advisories/GHSA-f43r-cc68-gpx4
  • github.com https://github.com/langflow-ai/langflow/security/advisories/GHSA-f43r-cc68-gpx4