CVE-2026-42048
CRITICAL 9.6CVSS 3.1Langflow Knowledge Bases API is Vulnerable to Path Traversal
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.
- Published
- 12 May 2026
- Last modified
- 16 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-9whx-c884-c68qPYSEC-2026-377
- Sources
- NVDJSONOSV GHSA-9whx-c884-c68qJSONOSV PYSEC-2026-377JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | 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 |
| OSV | GitHub | 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 |
| OSV | PyPA | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | langflow | langflowcpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:* |
< 1.9.0 | 1.9.0 |
| OSV | PyPI | langflow | < 1.9.0 | 1.9.0 |
References
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-9whx-c884-c68q · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-42048 · ADVISORY
- https://github.com/langflow-ai/langflow · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/langflow/PYSEC-2026-377.yaml · WEB
- https://pypi.org/project/langflow · WEB, PACKAGE
- https://github.com/advisories/GHSA-9whx-c884-c68q · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 12 May 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 May 2026)