Vulnerability Report

CVE-2026-42048

Title: Path Traversal in Langflow Knowledge Bases API

Arbitrary File Access

Proof Of Concept

PoC Available for CVE-2026-42048

CWE Category CWE-22
Published Date May 12, 2026
Modified Date May 14, 2026
Exploit Status Available
Score 9.6 CVSS v3.1
Exploit Probability (EPSS)
0.52%

Vulnerability Summary

CVE-2026-42048: 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.

CVSS v3.1
Source Entity [email protected]
Severity CRITICAL
9.6
Attack Vector
NETWORK
Complexity
LOW
Privileges
N/A
Interaction
NONE
Confidentiality
N/A
Integrity
N/A
Availability
N/A
Scope
CHANGED
RAW VECTOR CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H

Associated Attack Patterns (CAPEC)

Total: Patterns

CVE-2026-42048 Exploits & PoCs (Proof Of Concept)

GitHub https://github.com/EQSTLab/CVE-2026-42048
View Code
MODIFIED

Vulnerability data updated via NVD.

MODIFIED

Vulnerability data updated via NVD.

MODIFIED

Vulnerability data updated via NVD.

MODIFIED

Vulnerability data updated via NVD.

Attack Vector Matrix

Access Vector NETWORK
Complexity LOW
Privileges N/A
Interaction NONE
CVSS Vector String CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H

Affected Stack

No specific products linked.