Critical severity9.6GHSA Advisory· Published May 12, 2026· Updated May 14, 2026
CVE-2026-42048
CVE-2026-42048
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
langflowPyPI | < 1.9.0 | 1.9.0 |
Affected products
3<= 1.8.4+ 1 more
- (no CPE)range: <= 1.8.4
- cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:*range: <1.9.0
Patches
Vulnerability mechanics
References
3- github.com/langflow-ai/langflow/security/advisories/GHSA-9whx-c884-c68qnvdExploitVendor AdvisoryWEB
- github.com/advisories/GHSA-9whx-c884-c68qghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-42048ghsaADVISORY
News mentions
0No linked articles in our index yet.