Medium severity6.5GHSA Advisory· Published Jun 23, 2026· Updated Jun 26, 2026
CVE-2026-42867
CVE-2026-42867
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 (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.
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
2cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:*range: <1.9.0
- (no CPE)range: <= 1.8.4
Patches
Vulnerability mechanics
References
6- github.com/langflow-ai/langflow/pull/12337nvdPatchIssue TrackingWEB
- github.com/langflow-ai/langflow/security/advisories/GHSA-79ph-745m-6wxqnvdExploitVendor AdvisoryWEB
- github.com/advisories/GHSA-79ph-745m-6wxqghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-42867ghsaADVISORY
- github.com/pypa/advisory-database/tree/main/vulns/langflow/PYSEC-2026-2566.yamlghsaWEB
- pypi.org/project/langflowghsaWEB
News mentions
0No linked articles in our index yet.