Skip to main content
CVE-2025-68478VulnerabilityPublished

CVE-2025-68478: langflow · External Control of File Name or Path

Affects langflowSource CVE Database V5

0

Not known to be exploited · CVSS 7.1 High : upgrade to 1.7.0 soon.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
5.7% chance of exploitation in 30 days – higher than 93% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.7.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Upgrade langflow-ai/langflow to 1.7.0.

Affected software

ProductAffectedFixed in
GitHublangflow-ai/langflowpkg:github/langflow-ai/langflowOther threatsAffected
  • <1.7.0
Fixed in
  • 1.7.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should immediately upgrade langflow installations to version 1.7.0 or later, where the vulnerability is fixed. If immediate upgrade is not feasible, implement strict network segmentation and firewall rules to restrict access to langflow services only to trusted internal users and systems. Monitor logs for unusual file write operations or unexpected paths in requests to detect exploitation attempts. Employ application-layer controls or web application firewalls (WAFs) to validate and sanitize input parameters, specifically fs_path, to prevent arbitrary path injection. Conduct regular audits of file system integrity and implement file system permissions to limit the application’s write access to only necessary directories. Additionally, educate developers and administrators about secure coding practices related to file path handling to prevent similar issues in custom workflows.

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.

References

Community reviews

Loading reviews…