Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. langflow
  4. ›
  5. CVE-2025-68478

CVE-2025-68478: External Control of File Name or Path in Langflow

December 19, 2025 (updated June 6, 2026)

Vulnerability Overview

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.

Vulnerable Code

  1. It receives the request body (flow), updates the DB, and then passes it to the file-writing sink.

References

  • github.com/advisories/GHSA-f43r-cc68-gpx4
  • github.com/langflow-ai/langflow/security/advisories/GHSA-f43r-cc68-gpx4
  • github.com/pypa/advisory-database/tree/main/vulns/langflow/PYSEC-2025-125.yaml
  • nvd.nist.gov/vuln/detail/CVE-2025-68478

Code Behaviors & Features

Detect and mitigate CVE-2025-68478 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.7.1

Fixed versions

  • 1.7.1

Solution

Upgrade to version 1.7.1 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-610: Externally Controlled Reference to a Resource in Another Sphere
  • CWE-73: External Control of File Name or Path

Source file

pypi/langflow/CVE-2025-68478.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:53 +0000.