CVE-2026-42048: Vulnerability in Langflow

Critical. 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...

PyPI, CWE-22

Exploitation
None confirmed
Severity
9.6 of 10
Attack likelihood
0.6 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-9whx-c884-c68q
EU ID
EUVD-2026-29700
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H
Weakness
CWE-22
Published
5 May 2026
Last change
16 Nov 2026
Likelihood rank
Higher than 43 % of all rated vulnerabilities
Analysis status
Analyzed
Ecosystem
PyPI

Affected products

Affected versions and the first fixed release

  • Langflow Before 1.9.0. Fixed in 1.9.0

Affected packages

Vulnerable version ranges and fixed releases

  • langflow PyPI, Affected through 1.8.4. Fixed in 1.9.0

Advisories

Vendor and security advisories

Exploit code

Public exploits and proofs of concept, handle with care

Related