CVE Explorer
CVE-2026-42867
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"langflow","vendor":"langflow-ai","versions":[{"status":"affected","version":"< 1.9.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:731c52cc58f732b0591cad377d3dbfb6a1f76403efeafd94e4451e880cd39c1f · sha256:a5d3bd2e714d58fa… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:731c52cc58f732b0591cad377d3dbfb6a1f76403efeafd94e4451e880cd39c1f · sha256:a5d3bd2e714d58fa… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:731c52cc58f732b0591cad377d3dbfb6a1f76403efeafd94e4451e880cd39c1f · sha256:a5d3bd2e714d58fa… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/langflow-ai/langflow/pull/12337","tags":["x_refsource_MISC"],"url":"https://github.com/langflow-ai/langflow/pull/12337"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:731c52cc58f732b0591cad377d3dbfb6a1f76403efeafd94e4451e880cd39c1f · sha256:a5d3bd2e714d58fa… · /containers/cna/references/1
{"name":"https://github.com/langflow-ai/langflow/security/advisories/GHSA-79ph-745m-6wxq","tags":["x_refsource_CONFIRM"],"url":"https://github.com/langflow-ai/langflow/security/advisories/GHSA-79ph-745m-6wxq"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:731c52cc58f732b0591cad377d3dbfb6a1f76403efeafd94e4451e880cd39c1f · sha256:a5d3bd2e714d58fa… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/langflow-ai/langflow/security/advisories/GHSA-79ph-745m-6wxq"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:731c52cc58f732b0591cad377d3dbfb6a1f76403efeafd94e4451e880cd39c1f · sha256:a5d3bd2e714d58fa… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.