CVE-2026-42048
Langflow: Path Traversal in Langflow Knowledge Bases API
CRITICAL 9.6
At a glance
- Source
- NVD
- EPSS
- EPSS 4.20 % · percentile 91 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-22 — Path Traversal
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H | GitHub_M |
| CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H | NVD · security-advisories@github.com (Secondary) |
Advisories
- GHSA-9whx-c884-c68q — Langflow Knowledge Bases API is Vulnerable to Path Traversal
- PYSEC-2026-377 — Langflow Knowledge Bases API is Vulnerable to Path Traversal
European references
- ENISA EUVD · EUVD-2026-29700
- GCVE · GCVE-0-2026-42048
Affected configurations (NVD CPE)
cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:*< 1.9.0
Affected products
| Product | Versions |
|---|---|
| langflow-ai · langflow | affected < 1.9.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |