CVE-2026-42048Langflow
Critical 9.6
Follow: this CVE · Langflow · Langflow We alert you by email or Slack (account required).
- Priority
- 58
- CVSS 3.1
- 9.6
- EPSS
- —
- Auth required
- Yes
- Published
- May 12, 2026
- Updated
- Nov 11, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H
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 (DELETE /api/v1/knowledge_bases). This occurs because user-supplied knowledge base names are concatenated directly into file paths without proper sanitization or boundary validation. An authenticated attacker can exploit this flaw to delete arbitrary directories anywhere on the server's filesystem, leading to data loss and potential service disruption. This vulnerability is fixed in 1.9.0.
What to do
- Apply the vendor's security update for Langflow.
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-9whx-c884-c68q, PYSEC-2026-377). 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 Exploit Vendor Advisory