CVE-2026-42048CWE-22

Langflow: Path Traversal in Langflow Knowledge Bases API

Critical · published May 12, 2026

CVSS v3.1
9.6
EPSS
1%
Percentile
48.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.6 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00601 · 48.1th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-05-12T17:35Z
EPSS history
Timeline
  • 12 MAY 17:35Z
    Langflow: Path Traversal in Langflow Knowledge Bases API
    cvelistv5