CVE-2026-7869 Langflow OSS is affected by arbitrary code execution in custom component validation and trusted code enforcement
An authenticated attacker can exploit path traversal in the Knowledge Bases API to write files anywhere on the server filesystem, potentially leading to arbitrary code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-7869?
CVE-2026-7869 is a medium-severity path traversal vulnerability in Langflow Langflow, published on 5 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
IBM Langflow OSS 1.0.0 through 1.10.3 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.
Weakness: CWE-22
Which versions are affected by CVE-2026-7869?
It affects 1 product.
Products include Langflow Langflow.
How do I fix CVE-2026-7869?
No fix has been published for CVE-2026-7869 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-7869 being exploited?
There is no known exploitation of CVE-2026-7869 in the wild and no public exploit code.
Other vulnerabilities in Langflow Langflow
Sources
Also known as GHSA-7xr9-m7x2-5wqq.