Skip to main content
← All vulnerabilities
CVE-2025-68478PYSEC-2025-125GHSA-F43R-CC68-GPX4

Langflow Vulnerable to External Control of File Name or Path

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.7.0, 1.7.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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/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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • langflow-ai langflow

    fixed in 1.7.0

  • langflowPyPI

    fixed in 1.7.0

  • langflowPyPI

    fixed in 1.7.1

References 1

GitHub · langflow-ai/langflow