Path Traversal Vulnerability in Langflow AI Tool by Langflow
CVE-2026-42048
Key Information:
- Vendor
Langflow-ai
- Status
- Vendor
- CVE Published:
- 12 May 2026
Badges
What is CVE-2026-42048?
Langflow, a tool designed for creating AI-driven agents and workflows, is affected by a path traversal vulnerability in its Knowledge Bases API (DELETE /api/v1/knowledge_bases). This flaw arises from the failure to properly sanitize and validate user-supplied knowledge base names, which are directly concatenated into file paths. As a result, an authenticated attacker could exploit this vulnerability to delete arbitrary directories on the server's filesystem, causing potential data loss and disruption of services. The issue has been addressed in version 1.9.0.
Affected Version(s)
langflow < 1.9.0
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
