Langflow: Path Traversal in Knowledge Bases API via Creation Endpoint
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Langflow | langflow | before 1.9.0 | 1.9.0 | Patch available | CNA |
| — | langflow (PyPI) | before 1.9.0 | 1.9.0 | Patch available | GHSA-79ph-745m-6wxq |
- langflow VendorLangflow Affected before 1.9.0 Fixed in 1.9.0 Patch available CNA
- langflow (PyPI) Vendor— Affected before 1.9.0 Fixed in 1.9.0 Patch available GHSA-79ph-745m-6wxq
Remediation
- Fix · CNA langflow (langflow-ai) Fixed in 1.9.0
- Fix · GHSA-79ph-745m-6wxq langflow (PyPI) Fixed in 1.9.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-42867
- 2026-10-03 Alias added: GHSA-79ph-745m-6wxq
References
Advisory 2
More Langflow vulnerabilities
- TI-2026-08085 Unauthenticated Remote Code Execution via Auto-Login Bypass and Code Validation KEVCVSS 3.1CRITICAL 9.8
- TI-2026-00553 Langflow exec_globals Inclusion of Functionality from Untrusted Control Sphere Remote… KEVCVSS 3.0CRITICAL 9.8
- TI-2025-24427 Langflow <= 1.6.9 CORS Misconfiguration to Token Hijack & RCE KEVCVSS 4.0CRITICAL 9.4
- TI-2025-02845 Langflow < 1.3.0 Unauthenticated RCE via /api/v1/validate/code KEVCVSS 3.1CRITICAL 9.8
- TI-2026-25463 Langflow has Unauthenticated Remote Code Execution via Public Flow Build Endpoint KEVCVSS 4.0CRITICAL 9.3
- TI-2026-39928 Authorization bypass in langflow KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-42867 · CVE Program
- CVE-2026-42867 · NVD
- FIRST EPSS
- GHSA-79ph-745m-6wxq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences