Path traversal in Langflow - CVE-2026-42048
Published: April 27, 2026
Langflow
Detailed vulnerability description
The vulnerability allows a remote user to delete arbitrary directories on the server, leading to data loss and service disruption.
The vulnerability exists due to path traversal in the delete_knowledge_bases_bulk function when handling bulk delete requests to the Knowledge Bases API. A remote user can supply crafted knowledge base names containing traversal sequences to delete arbitrary directories on the server, leading to data loss and service disruption.
The issue affects the DELETE /api/v1/knowledge_bases endpoint and can impact directories outside the intended user directory, including another tenant's knowledge base space.