CVE-2026-42867
MEDIUM 6.5CVSS 3.1Langflow: Path Traversal in Knowledge Bases API via Creation Endpoint
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 (POST /api/v1/knowledge_bases). This occurs because user-supplied knowledge base names are used directly to create file paths without proper sanitization or containment checks. An authenticated attacker can exploit this flaw to create directories and write files anywhere on the server's filesystem. This vulnerability is fixed in 1.9.0.
- Published
- 23 Jun 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-79ph-745m-6wxqPYSEC-2026-2566
- Sources
- NVDJSONOSV GHSA-79ph-745m-6wxqJSONOSV PYSEC-2026-2566JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
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/pull/12337 · Patch, Issue Tracking, WEB
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-79ph-745m-6wxq · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-42867 · ADVISORY
- https://github.com/advisories/GHSA-79ph-745m-6wxq · ADVISORY
- https://github.com/langflow-ai/langflow · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/langflow/PYSEC-2026-2566.yaml · WEB
- https://pypi.org/project/langflow · WEB, PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 23 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Jun 2026)