Langflow: Path Traversal in Langflow Knowledge Bases API
A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 4%. Fixed in Langflow 1.9.0 and langflow 1.9.0.
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 (DELETE /api/v1/knowledge_bases). This occurs because user-supplied knowledge base names are concatenated directly into file paths without proper sanitization or boundary validation. An authenticated attacker can exploit this flaw to delete arbitrary directories anywhere on the server's filesystem, leading to data loss and potential service disruption. This vulnerability is fixed in 1.9.0.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Langflow | Langflow | <1.9.0 | 1.9.0 |
| langflow-ai | <1.9.0 | ||
| pypi: langflow | <1.9.0, <=1.8.4 | 1.9.0 |
Exploit evidence
1 public sources
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Langflow, strongest first
Embed
A live severity badge for an advisory, README or ticket