Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Langflow | Langflow | < 1.9.0 |
Related Weaknesses (CWE)
References
- https://github.com/langflow-ai/langflow/pull/12337PatchIssue Tracking
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-79ph-745m-6wxqExploitVendor Advisory
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-79ph-745m-6wxqExploitVendor Advisory
FAQ
What is CVE-2026-42867?
CVE-2026-42867 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 ...
How severe is CVE-2026-42867?
CVE-2026-42867 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-42867?
Check the references section above for vendor advisories and patch information. Affected products include: Langflow Langflow.