criticalCVSS 9.6NVD status: Analyzed

CVE-2026-42048

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

ComponentLangflow
Severitycritical (CVSS 9.6)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H
Published (NVD)2026-05-12
Last modified2026-06-17
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 (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.

Does CVE-2026-42048 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