mediumCVSS 6.5NVD status: Analyzed

CVE-2026-42867

Langflow is a tool for building and deploying AI-powered agents and workflows.

ComponentLangflow
Severitymedium (CVSS 6.5)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Published (NVD)2026-06-23
Last modified2026-06-26
Affected versions
langflow < 1.9.0
Fixed in1.9.0
WeaknessCWE-22
CISA KEVnot listed

NVD 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 (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.

Does CVE-2026-42867 hit the version you run?Paste your docker-compose.yml, requirements.txt or package.json. The scanner checks your pinned versions against this CVE and every other one we track for Langflow.
Check my stack

What to do

  • Upgrade Langflow to 1.9.0 or later.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources

Read more

Other Langflow CVEs

All Langflow CVEs