Path Traversal in Langflow
CVE-2026-42048
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.6 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H.
EPSS exploit prediction
EPSS: 0.006 (47.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 48th percentile — 47.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.044 · newest: 0.006 · change: -0.038
Affected products
- Langflow
- Langflow-Ai Langflow — versions < 1.9.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/langflow-ai/langflow/security/advisories/GHSA-9whx-c884-c68q (Exploit, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-42048?
- CVE-2026-42048 is a critical-severity vulnerability in Langflow, classified under Path Traversal. CVSS score: 9.6/10. Published 2026-05-12.
- How severe is CVE-2026-42048?
- Critical severity. CVSS v3 base score is 9.6 out of 10.
- Is CVE-2026-42048 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.