CVE-2025-68478CWE-610CWE-73

CVE-2025-68478

High · published December 19, 2025

CVSS v3.1
7.1
EPSS
6%
Percentile
93.1
In the wild
Unconfirmed
What it is

⚡ A sneaky path traversal vulnerability in Langflow could let attackers write files anywhere on your server - no restrictions whatsoever! 🔥 Think of it as a restaurant accepting orders without checking if the kitchen can actually make them. If you ask for a dish from the top of the menu while being a regular diner, the restaurant might just make it without a second thought, potentially serving it with the wrong ingredients. An attacker could exploit this flaw by specifying dangerous file paths, allowing them to create or overwrite crucial files on your system. This means they could potentially mess with configuration files or plant malicious scripts, leading to data loss and compromised security.

Put simply

Think of it as a restaurant accepting orders without checking if the kitchen can actually make them. If you ask for a dish from the top of the menu while being a regular diner, the restaurant might just make it without a second thought, potentially serving it with the wrong ingredients. This vulnerability arises because Langflow does not validate or sanitize the `fs_path` in the request body, allowing arbitrary file paths to be serialized and written to by the server. Versions prior to 1.7.0 are vulnerable to this issue.

What to do

An attacker could exploit this flaw by specifying dangerous file paths, allowing them to create or overwrite crucial files on your system. This means they could potentially mess with configuration files or plant malicious scripts, leading to data loss and compromised security. Upgrade Langflow immediately to version 1.7.0 or later. While you're at it, review your application for any other areas where file paths are specified without proper validation. You've got this! Patch up and secure your Langflow setup with confidence! 🛡️

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.05787 · 93.1th percentile
Weaknesses
CWE-610 · Externally Controlled Reference to a Resource in Another Sphere; CWE-73 · External Control of File Name or Path
Published
2025-12-19T23:15Z
Affected products (1)
ProductVersionsFixed in
langflow/langflow< 1.7.01.7.0
References (2)
EPSS history
Timeline
  • 19 DEC 17:10Z
    Langflow Vulnerable to External Control of File Name or Path
    cvelistv5