Skip to main content
← All vulnerabilities
CVE-2026-42867PYSEC-2026-2566GHSA-79PH-745M-6WXQ

Langflow: Path Traversal in Knowledge Bases API via Creation Endpoint

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

Summary

Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to 1.9.0, Langflow is vulnerable to Path Traversal in the Knowledge Bases API (POST /api/v1/knowledge_bases). This occurs because user-supplied knowledge base names are used directly to create file paths without proper sanitization or containment checks. An authenticated attacker can exploit this flaw to create directories and write files anywhere on the server's filesystem. This vulnerability is fixed in 1.9.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • langflow-ai langflow

    fixed in 1.9.0

  • langflowPyPI

    fixed in 1.9.0

References 2

GitHub · langflow-ai/langflow