CVE-2026-42048
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 (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.
Description as published by the source, in English.
Key facts
- Published
- 2026-05-12
- Last modified
- 2026-11-11
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H- Scored by
- security-advisories@github.com
- Probability of exploitation
-
4.4 %
higher than 90 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Langflow | Langflow | < 1.9.0 | Affected |
Weakness type
-
CWE-22: Improper Limitation of a Pathname to a Restricted Directory
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special ele…
References
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-9whx-c884-c68q
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-9whx-c884-c68q
Related at Berigo
Articles
-
Unit 42: Chinese speaking actor ran autonomous attacks with an AI agent
Same product
2026-07-31
On 30 July 2026 Unit 42 published a campaign in which a Chinese speaking actor let an AI agent find targets, fetch exploit code and attempt exploitat…
-
AI agent chose targets and switched vulnerability on its own in Chinese campaign
Same product
2026-07-31
Unit 42 describes a Chinese speaking actor who paired the DeepSeek language model with the Hermes Agent framework, and let the setup find targets, pu…
-
Sysdig documents the first observed case of agentic ransomware
Same product
2026-07-01
Sysdig reports on JADEPUFFER, an AI-driven extortion operation that automated the entire attack chain from entry to database encryption.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.