---
id: CVE-2025-68478
title: Langflow is a tool for building and deploying AI-powered agents and workflows
summary: >-
  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/overwri…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L'
cwe:
  - CWE-73
  - CWE-610
vendor: langflow
product: langflow
affected:
  - langflow < 1.7.0
patched:
  - langflow 1.7.0
published: '2025-12-19'
updated: '2026-10-13'
sourceUpdated: '2026-10-13T11:10:00.203'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-68478'
references:
  - url: >-
      https://github.com/langflow-ai/langflow/security/advisories/GHSA-f43r-cc68-gpx4
    label: security-advisories@github.com
  - url: >-
      https://github.com/langflow-ai/langflow/security/advisories/GHSA-f43r-cc68-gpx4
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.05787
epssPercentile: 0.92937
ingestedAt: '2026-10-13T11:23:51.147Z'
---

## Overview

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

- `langflow < 1.7.0`

## Remediation

Upgrade past the affected range:

- `langflow 1.7.0`
