Skip to content
OpenAdvisories
Critical · 9.6 Public exploit CVE-2026-42048 EUVD-2026-29700GHSA-9whx-c884-c68qPYSEC-2026-377

Langflow: Path Traversal in Langflow Knowledge Bases API

Published May 12, 2026 · Updated May 13, 2026 · Assigned by GitHub_M

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 (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 products

VendorProductAffectedFixed
langflow-ai langflow < 1.9.0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI langflow < 1.9.0 1.9.0 GHSA-9whx-c884-c68q

Advisories 1

References