CVE-2026-42867Langflow
Medium 6.5 No auth needed
Follow: this CVE · Langflow · Langflow We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- —
- Auth required
- No
- Published
- Jun 23, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
What happens
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.
What to do
- Apply the vendor's security update for Langflow.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | langflow |
< 1.9.0 |
1.9.0 |
pip install "langflow>=1.9.0" |
| PyPI | langflow |
< 1.9.0 |
1.9.0 |
pip install "langflow>=1.9.0" |
Per OSV / GitHub Advisories (GHSA-79ph-745m-6wxq, PYSEC-2026-2566). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| langflow | langflow | < 1.9.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Issue Tracking
- github.com Exploit Vendor Advisory